|
749 | 749 | <Style BasedOn="{x:Null}" TargetType="{x:Type wd:Window}">
|
750 | 750 | <Setter Property="Foreground" Value="{DynamicResource WD.RegularTextSolidColorBrush}" />
|
751 | 751 | <Setter Property="Background" Value="{DynamicResource WD.BackgroundSolidColorBrush}" />
|
752 |
| - <Setter Property="BorderBrush" Value="{DynamicResource WD.PrimaryNormalSolidColorBrush}" /> |
753 |
| - <Setter Property="TitleBackground" Value="{DynamicResource WD.PrimaryNormalSolidColorBrush}" /> |
| 752 | + <Setter Property="BorderBrush" Value="{DynamicResource WD.WindowBorderBrushSolidColorBrush}" /> |
| 753 | + <Setter Property="TitleBackground" Value="{DynamicResource WD.WindowBorderBrushSolidColorBrush}" /> |
754 | 754 | <Setter Property="IsTabStop" Value="False" />
|
755 | 755 | <Setter Property="BorderThickness" Value="1" />
|
756 | 756 | <Setter Property="SnapsToDevicePixels" Value="True" />
|
|
1060 | 1060 | <Trigger Property="IsChecked" Value="True">
|
1061 | 1061 | <Setter TargetName="PART_Border" Property="Fill" Value="{DynamicResource WD.PrimaryNormalSolidColorBrush}" />
|
1062 | 1062 | <Setter TargetName="PART_Border" Property="Stroke" Value="{DynamicResource WD.PrimaryNormalSolidColorBrush}" />
|
1063 |
| - <Setter TargetName="PART_ContentPresenter" Property="TextElement.Foreground" Value="{DynamicResource WD.PrimaryNormalSolidColorBrush}" /> |
1064 | 1063 | </Trigger>
|
1065 | 1064 | <MultiTrigger>
|
1066 | 1065 | <MultiTrigger.Conditions>
|
|
1690 | 1689 | <Trigger Property="IsChecked" Value="True">
|
1691 | 1690 | <Setter TargetName="PART_Border" Property="Background" Value="{DynamicResource WD.PrimaryNormalSolidColorBrush}" />
|
1692 | 1691 | <Setter TargetName="PART_Border" Property="BorderBrush" Value="{DynamicResource WD.PrimaryNormalSolidColorBrush}" />
|
1693 |
| - <Setter TargetName="PART_ContentPresenter" Property="TextElement.Foreground" Value="{DynamicResource WD.PrimaryNormalSolidColorBrush}" /> |
1694 | 1692 | </Trigger>
|
1695 | 1693 | <Trigger Property="IsChecked" Value="{x:Null}">
|
1696 | 1694 | <Trigger.EnterActions>
|
|
2840 | 2838 | <ScaleTransform ScaleX="0" ScaleY="1" />
|
2841 | 2839 | </Border.RenderTransform>
|
2842 | 2840 | </Border>
|
2843 |
| - <ContentPresenter Margin="{TemplateBinding Padding}" HorizontalAlignment="{Binding Path=HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" VerticalAlignment="{Binding Path=VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" ContentSource="Header" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> |
| 2841 | + <ContentPresenter x:Name="PART_ContentPresenter" Margin="{TemplateBinding Padding}" HorizontalAlignment="{Binding Path=HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" VerticalAlignment="{Binding Path=VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" ContentSource="Header" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> |
2844 | 2842 | <VisualStateManager.VisualStateGroups>
|
2845 | 2843 | <VisualStateGroup x:Name="SelectionStates">
|
2846 | 2844 | <VisualState x:Name="Unselected" />
|
|
2861 | 2859 | <Trigger Property="IsSelected" Value="True">
|
2862 | 2860 | <Setter TargetName="PART_Border" Property="BorderBrush" Value="{DynamicResource WD.PrimaryNormalSolidColorBrush}" />
|
2863 | 2861 | <Setter Property="Background" Value="{DynamicResource WD.DefaultBackgroundSolidColorBrush}" />
|
2864 |
| - <Setter Property="Foreground" Value="{DynamicResource WD.PrimaryNormalSolidColorBrush}" /> |
| 2862 | + <Setter TargetName="PART_ContentPresenter" Property="TextElement.Foreground" Value="{DynamicResource WD.PrimaryNormalSolidColorBrush}" /> |
2865 | 2863 | </Trigger>
|
2866 | 2864 | <Trigger Property="IsMouseOver" Value="True">
|
2867 |
| - <Setter Property="Foreground" Value="{DynamicResource WD.PrimaryNormalSolidColorBrush}" /> |
| 2865 | + <Setter TargetName="PART_ContentPresenter" Property="TextElement.Foreground" Value="{DynamicResource WD.PrimaryNormalSolidColorBrush}" /> |
2868 | 2866 | </Trigger>
|
2869 | 2867 | </ControlTemplate.Triggers>
|
2870 | 2868 | </ControlTemplate>
|
|
2888 | 2886 | <ScaleTransform ScaleX="1" ScaleY="0" />
|
2889 | 2887 | </Border.RenderTransform>
|
2890 | 2888 | </Border>
|
2891 |
| - <ContentPresenter Margin="{TemplateBinding Padding}" HorizontalAlignment="{Binding Path=HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" VerticalAlignment="{Binding Path=VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" ContentSource="Header" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> |
| 2889 | + <ContentPresenter x:Name="PART_ContentPresenter" Margin="{TemplateBinding Padding}" HorizontalAlignment="{Binding Path=HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" VerticalAlignment="{Binding Path=VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" ContentSource="Header" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> |
2892 | 2890 | <VisualStateManager.VisualStateGroups>
|
2893 | 2891 | <VisualStateGroup x:Name="SelectionStates">
|
2894 | 2892 | <VisualState x:Name="Unselected" />
|
|
2909 | 2907 | <Trigger Property="IsSelected" Value="True">
|
2910 | 2908 | <Setter TargetName="PART_Border" Property="BorderBrush" Value="{DynamicResource WD.PrimaryNormalSolidColorBrush}" />
|
2911 | 2909 | <Setter Property="Background" Value="{DynamicResource WD.DefaultBackgroundSolidColorBrush}" />
|
2912 |
| - <Setter Property="Foreground" Value="{DynamicResource WD.PrimaryNormalSolidColorBrush}" /> |
| 2910 | + <Setter TargetName="PART_ContentPresenter" Property="TextElement.Foreground" Value="{DynamicResource WD.PrimaryNormalSolidColorBrush}" /> |
2913 | 2911 | </Trigger>
|
2914 | 2912 | <Trigger Property="IsMouseOver" Value="True">
|
2915 |
| - <Setter Property="Foreground" Value="{DynamicResource WD.PrimaryNormalSolidColorBrush}" /> |
| 2913 | + <Setter TargetName="PART_ContentPresenter" Property="TextElement.Foreground" Value="{DynamicResource WD.PrimaryNormalSolidColorBrush}" /> |
2916 | 2914 | </Trigger>
|
2917 | 2915 | </ControlTemplate.Triggers>
|
2918 | 2916 | </ControlTemplate>
|
|
2956 | 2954 | <Border x:Name="HeaderBorder" Grid.Row="0" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="0,0,0,1">
|
2957 | 2955 | <TabPanel Name="HeaderPanel" Margin="2,2,2,0" Panel.ZIndex="1" IsItemsHost="True" KeyboardNavigation.TabIndex="1" />
|
2958 | 2956 | </Border>
|
2959 |
| - <controls:SmallPanel Name="ContentPanel" Grid.Row="1" Grid.Column="0" KeyboardNavigation.DirectionalNavigation="Contained" KeyboardNavigation.TabIndex="2" KeyboardNavigation.TabNavigation="Local"> |
| 2957 | + <controls:SmallPanel x:Name="ContentPanel" Grid.Row="1" Grid.Column="0" KeyboardNavigation.DirectionalNavigation="Contained" KeyboardNavigation.TabIndex="2" KeyboardNavigation.TabNavigation="Local"> |
2960 | 2958 | <ContentPresenter Name="PART_SelectedContentHost" Margin="{TemplateBinding Padding}" Content="{TemplateBinding SelectedContent}" ContentSource="SelectedContent" ContentStringFormat="{TemplateBinding SelectedContentStringFormat}" ContentTemplate="{TemplateBinding SelectedContentTemplate}" SnapsToDevicePixels="{TemplateBinding UIElement.SnapsToDevicePixels}" />
|
2961 | 2959 | </controls:SmallPanel>
|
2962 | 2960 | </Grid>
|
|
5700 | 5698 | <ControlTemplate TargetType="{x:Type controls:StepItem}">
|
5701 | 5699 | <StackPanel>
|
5702 | 5700 | <controls:SmallPanel>
|
5703 |
| - <Ellipse Width="45" Height="30" HorizontalAlignment="Center" Fill="{DynamicResource WD.WindowForegroundColorBrush}" /> |
| 5701 | + <Ellipse Width="45" Height="30" HorizontalAlignment="Center" Fill="{DynamicResource WD.BackgroundSolidColorBrush}" /> |
5704 | 5702 | <Border Width="30" Height="30" HorizontalAlignment="Center" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="15">
|
5705 | 5703 | <controls:SmallPanel>
|
5706 | 5704 | <TextBlock Name="PART_Index" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="{TemplateBinding FontSize}" Foreground="{TemplateBinding Foreground}" Text="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type controls:StepItem}}, Converter={StaticResource WD.StepIndexConverter}}" />
|
|
0 commit comments