-
-
Save jasondown/6f30106a36d55f19d7d09faf512dc08d 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
<RepeatButton.Style> | |
<Style TargetType="{x:Type RepeatButton}"> | |
<Style.Triggers> | |
<DataTrigger Binding="{Binding RelativeSource={RelativeSource Mode=Self}, Path=IsEnabled}" Value="True"> | |
<Setter Property="Content"> | |
<Setter.Value> | |
<Path Data="M 9 0 L 9 10 L 0 5 Z" | |
Fill="{x:Static SystemColors.ControlTextBrush}" | |
Stroke="{x:Static SystemColors.ControlTextBrush}" /> | |
</Setter.Value> | |
</Setter> | |
</DataTrigger> | |
<DataTrigger Binding="{Binding RelativeSource={RelativeSource Mode=Self}, Path=IsEnabled}" Value="False"> | |
<Setter Property="Content"> | |
<Setter.Value> | |
<Path Data="M 9 0 L 9 10 L 0 5 Z" | |
Fill="{x:Static SystemColors.ControlDarkDarkBrush}" | |
Stroke="{x:Static SystemColors.ControlDarkDarkBrush}" /> | |
</Setter.Value> | |
</Setter> | |
</DataTrigger> | |
</Style.Triggers> | |
</Style> | |
</RepeatButton.Style> | |
</RepeatButton> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment