Created
July 30, 2019 13:25
-
-
Save BMU-Verlag/e7d3bd9b75c835666d5f36de96e6dfd5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Style TargetType="Button" x:Key="CellStyle"> | |
<Setter Property="BorderThickness" Value="2"/> | |
<Setter Property="BorderBrush" Value="DarkGray" /> | |
<Setter Property="FontSize" Value="65" /> | |
<Style.Triggers> | |
<DataTrigger Binding="{Binding GameActive}" Value="True"> | |
<Setter Property="Background" Value="White"/> | |
<Setter Property="IsEnabled" Value="True"/> | |
</DataTrigger> | |
<DataTrigger Binding="{Binding GameActive}" Value="False"> | |
<Setter Property="Background" Value="LightGray"/> | |
<Setter Property="IsEnabled" Value="False"/> | |
<Setter Property="Foreground" Value="Black"/> | |
</DataTrigger> | |
</Style.Triggers> | |
</Style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment