blob: c87982f8a333864d229084ce85e35f9573ae5aa0 (
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>
<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>
|