summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Xaml.UnitTests/TestSharedResourceDictionary.xaml
blob: 62c1abd2001951a7bc3e3d48d268acdc5408e9b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
		xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
		xmlns:local="clr-namespace:Xamarin.Forms.Xaml.UnitTests"
		x:Class="Xamarin.Forms.Xaml.UnitTests.TestSharedResourceDictionary">
	<StackLayout>
		<StackLayout>
			<StackLayout.Resources>
				<ResourceDictionary MergedWith="local:SharedResourceDictionary"/>
			</StackLayout.Resources>
			<Label x:Name="label" Style="{StaticResource sharedfoo}"/>
			<Label x:Name="implicitLabel" />
		</StackLayout>
		<ContentView>
			<ContentView.Resources>
				<ResourceDictionary MergedWith="local:SharedResourceDictionary2"/>
			</ContentView.Resources>
			<Label x:Name="label2" Style="{StaticResource sharedStyle2}"/>
		</ContentView>
	</StackLayout>
</ContentPage>