summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Xaml.UnitTests/Issues/Bz28556.xaml
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Xaml.UnitTests/Issues/Bz28556.xaml')
-rw-r--r--Xamarin.Forms.Xaml.UnitTests/Issues/Bz28556.xaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/Xamarin.Forms.Xaml.UnitTests/Issues/Bz28556.xaml b/Xamarin.Forms.Xaml.UnitTests/Issues/Bz28556.xaml
new file mode 100644
index 00000000..4780ee23
--- /dev/null
+++ b/Xamarin.Forms.Xaml.UnitTests/Issues/Bz28556.xaml
@@ -0,0 +1,27 @@
+<?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.Bz28556">
+ <ContentPage.Resources>
+ <ResourceDictionary>
+ <Style TargetType="Entry">
+ <Setter Property="TextColor" Value="Yellow" />
+ <Setter Property="BackgroundColor" Value="Green" />
+ <Style.Triggers>
+ <Trigger TargetType="Entry" Property="IsEnabled" Value="False">
+ <Setter Property="TextColor" Value="Red" />
+ <Setter Property="BackgroundColor" Value="Purple" />
+ </Trigger>
+<!-- <Trigger TargetType="Entry" Property="IsEnabled" Value="True">
+ <Setter Property="TextColor" Value="Yellow" />
+ <Setter Property="BackgroundColor" Value="Green" />
+ </Trigger>-->
+ </Style.Triggers>
+ </Style>
+ </ResourceDictionary>
+ </ContentPage.Resources>
+ <StackLayout>
+ <Entry x:Name="entry" Text="Sample Text" />
+ <Entry x:Name="disableEntry" Text="Sample Text" IsEnabled="false" />
+ </StackLayout>
+</ContentPage> \ No newline at end of file