summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Xaml.UnitTests/TestSharedResourceDictionary.xaml
diff options
context:
space:
mode:
authorStephane Delcroix <stephane@delcroix.org>2016-04-18 18:25:20 +0200
committerRui Marinho <me@ruimarinho.net>2016-04-18 17:25:20 +0100
commit4d279db34812891975aa0e8d73e3d5dd970a692c (patch)
tree7020cb7a12f20f36bd83dd65c902128b831dc139 /Xamarin.Forms.Xaml.UnitTests/TestSharedResourceDictionary.xaml
parent7dcdfb60a9cf0a13fdbb07973f9049e64f91f311 (diff)
downloadxamarin-forms-4d279db34812891975aa0e8d73e3d5dd970a692c.tar.gz
xamarin-forms-4d279db34812891975aa0e8d73e3d5dd970a692c.tar.bz2
xamarin-forms-4d279db34812891975aa0e8d73e3d5dd970a692c.zip
[C] Allow Multiple Shared RD. (#103)
Diffstat (limited to 'Xamarin.Forms.Xaml.UnitTests/TestSharedResourceDictionary.xaml')
-rw-r--r--Xamarin.Forms.Xaml.UnitTests/TestSharedResourceDictionary.xaml20
1 files changed, 15 insertions, 5 deletions
diff --git a/Xamarin.Forms.Xaml.UnitTests/TestSharedResourceDictionary.xaml b/Xamarin.Forms.Xaml.UnitTests/TestSharedResourceDictionary.xaml
index eb1eb7e4..c87982f8 100644
--- a/Xamarin.Forms.Xaml.UnitTests/TestSharedResourceDictionary.xaml
+++ b/Xamarin.Forms.Xaml.UnitTests/TestSharedResourceDictionary.xaml
@@ -3,9 +3,19 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:Xamarin.Forms.Xaml.UnitTests"
x:Class="Xamarin.Forms.Xaml.UnitTests.TestSharedResourceDictionary">
- <ContentPage.Resources>
- <ResourceDictionary MergedWith="local:SharedResourceDictionary">
- </ResourceDictionary>
- </ContentPage.Resources>
- <Label x:Name="label" Style="{StaticResource sharedfoo}"/>
+ <StackLayout>
+ <ContentView>
+ <ContentView.Resources>
+ <ResourceDictionary MergedWith="local:SharedResourceDictionary"/>
+ </ContentView.Resources>
+ <Label x:Name="label" Style="{StaticResource sharedfoo}"/>
+ </ContentView>
+ <ContentView>
+ <ContentView.Resources>
+ <ResourceDictionary MergedWith="local:SharedResourceDictionary2"/>
+ </ContentView.Resources>
+ <Label x:Name="label2" Style="{StaticResource sharedStyle2}"/>
+ </ContentView>
+ </StackLayout>
+
</ContentPage> \ No newline at end of file