| <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> |
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> |
| |
| |
| <Style x:Key="PropertyItemButton" TargetType="Button"> |
| <Style x:Key="PropertyItemButton" TargetType="Button"> |
| <Setter Property="FontSize" Value="{DynamicResource FontSize}" /> |
| <Setter Property="FontSize" Value="{DynamicResource FontSize}" /> |
| <Setter Property="Margin" Value="0,4,0,4" /> |
| <Setter Property="Margin" Value="0,4,0,4" /> |
| <Setter Property="Foreground" Value="{DynamicResource GlyphBrush}" /> |
| <Setter Property="Foreground" Value="{DynamicResource GlyphBrush}" /> |
| <Setter Property="Template"> |
| <Setter Property="Template"> |
| <Setter.Value> |
| <Setter.Value> |
| <ControlTemplate TargetType="Button"> |
| <ControlTemplate TargetType="Button"> |
| <TextBlock FontSize="{TemplateBinding FontSize}" |
| <TextBlock FontSize="{TemplateBinding FontSize}" |
| Foreground="{TemplateBinding Foreground}" |
| Foreground="{TemplateBinding Foreground}" |
. | Text="{TemplateBinding Content}" |
| Text="{TemplateBinding Content, Converter={StaticResource ObjectToStringConverter}}" |
| TextWrapping="Wrap"/> |
| TextWrapping="Wrap"/> |
| </ControlTemplate> |
| </ControlTemplate> |
| </Setter.Value> |
| </Setter.Value> |
| </Setter> |
| </Setter> |
| <Style.Triggers> |
| <Style.Triggers> |
| <Trigger Property="IsMouseOver" Value="True"> |
| <Trigger Property="IsMouseOver" Value="True"> |
| <Setter Property="Foreground" Value="{DynamicResource TextBrush}" /> |
| <Setter Property="Foreground" Value="{DynamicResource TextBrush}" /> |
| <Setter Property="Cursor" Value="Hand" /> |
| <Setter Property="Cursor" Value="Hand" /> |
| </Trigger> |
| </Trigger> |
| <Trigger Property="IsEnabled" Value="False"> |
| <Trigger Property="IsEnabled" Value="False"> |
| <Setter Property="Foreground" Value="{DynamicResource TextBrushDarker}" /> |
| <Setter Property="Foreground" Value="{DynamicResource TextBrushDarker}" /> |
| </Trigger> |
| </Trigger> |
| </Style.Triggers> |
| </Style.Triggers> |
| </Style> |
| </Style> |
| </ResourceDictionary> |
| </ResourceDictionary> |