diff options
author | Stephane Delcroix <stephane@delcroix.org> | 2017-03-02 23:28:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-02 23:28:37 +0100 |
commit | d2708bbadd0bf09c2542e354683c0fd1bbc84707 (patch) | |
tree | 6f267d261bbc60cfa9a723a9ade669e061f17aa8 /Xamarin.Forms.Controls | |
parent | a03c8f32d20a61a1a553b7db0e2f978c44a4ca84 (diff) | |
download | xamarin-forms-d2708bbadd0bf09c2542e354683c0fd1bbc84707.tar.gz xamarin-forms-d2708bbadd0bf09c2542e354683c0fd1bbc84707.tar.bz2 xamarin-forms-d2708bbadd0bf09c2542e354683c0fd1bbc84707.zip |
[Xaml] Fallback to App.Current for DynResources (Previewer) (#793)
* [Xaml] Fallback to App.Current for DynResources (Previewer)
* [C] avoid NRE and ensure setting the style
Diffstat (limited to 'Xamarin.Forms.Controls')
-rw-r--r-- | Xamarin.Forms.Controls/SdxApp.xaml | 5 | ||||
-rw-r--r-- | Xamarin.Forms.Controls/SdxApp.xaml.cs | 22 | ||||
-rw-r--r-- | Xamarin.Forms.Controls/SdxPage.xaml | 5 | ||||
-rw-r--r-- | Xamarin.Forms.Controls/SdxPage.xaml.cs | 22 |
4 files changed, 54 insertions, 0 deletions
diff --git a/Xamarin.Forms.Controls/SdxApp.xaml b/Xamarin.Forms.Controls/SdxApp.xaml new file mode 100644 index 00000000..a859f491 --- /dev/null +++ b/Xamarin.Forms.Controls/SdxApp.xaml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="Xamarin.Forms.Controls.SdxApp"> + <ContentPage.Content> + </ContentPage.Content> +</ContentPage> diff --git a/Xamarin.Forms.Controls/SdxApp.xaml.cs b/Xamarin.Forms.Controls/SdxApp.xaml.cs new file mode 100644 index 00000000..5ad3a618 --- /dev/null +++ b/Xamarin.Forms.Controls/SdxApp.xaml.cs @@ -0,0 +1,22 @@ +// +// SdxApp.xaml.cs +// +// Author: +// Stephane Delcroix <stdelc@microsoft.com> +// +// Copyright (c) 2017 +using System; +using System.Collections.Generic; + +using Xamarin.Forms; + +namespace Xamarin.Forms.Controls +{ + public partial class SdxApp : ContentPage + { + public SdxApp() + { + InitializeComponent(); + } + } +} diff --git a/Xamarin.Forms.Controls/SdxPage.xaml b/Xamarin.Forms.Controls/SdxPage.xaml new file mode 100644 index 00000000..7dffd414 --- /dev/null +++ b/Xamarin.Forms.Controls/SdxPage.xaml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="Xamarin.Forms.Controls.SdxPage"> + <ContentPage.Content> + </ContentPage.Content> +</ContentPage> diff --git a/Xamarin.Forms.Controls/SdxPage.xaml.cs b/Xamarin.Forms.Controls/SdxPage.xaml.cs new file mode 100644 index 00000000..d4153161 --- /dev/null +++ b/Xamarin.Forms.Controls/SdxPage.xaml.cs @@ -0,0 +1,22 @@ +// +// SdxPage.xaml.cs +// +// Author: +// Stephane Delcroix <stdelc@microsoft.com> +// +// Copyright (c) 2017 +using System; +using System.Collections.Generic; + +using Xamarin.Forms; + +namespace Xamarin.Forms.Controls +{ + public partial class SdxPage : ContentPage + { + public SdxPage() + { + InitializeComponent(); + } + } +} |