summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Xaml.UnitTests/Issues/Issue2578.xaml
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Xaml.UnitTests/Issues/Issue2578.xaml')
-rw-r--r--Xamarin.Forms.Xaml.UnitTests/Issues/Issue2578.xaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/Xamarin.Forms.Xaml.UnitTests/Issues/Issue2578.xaml b/Xamarin.Forms.Xaml.UnitTests/Issues/Issue2578.xaml
new file mode 100644
index 00000000..cedfbc83
--- /dev/null
+++ b/Xamarin.Forms.Xaml.UnitTests/Issues/Issue2578.xaml
@@ -0,0 +1,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"
+ x:Class="Xamarin.Forms.Xaml.UnitTests.Issue2578">
+ <ContentPage.Resources>
+ <ResourceDictionary>
+ <Style x:Key="labelStyle" TargetType="Label">
+ <Style.Triggers>
+ <Trigger Property="Text" TargetType="Label" Value="Foo">
+ <Setter Property="BackgroundColor" Value="Red" />
+ </Trigger>
+ <Trigger Property="Font" TargetType="Label" Value="Small">
+ <Setter Property="TextColor" Value="Olive" />
+ </Trigger>
+ </Style.Triggers>
+ </Style>
+ </ResourceDictionary>
+ </ContentPage.Resources>
+ <Label x:Name="label" Font="Small" Style="{StaticResource labelStyle}" />
+</ContentPage> \ No newline at end of file