|
9 | 9 | <Style.Triggers> |
10 | 10 | <Trigger Property="controls:StyleManager.IsHighlighted" Value="True"> |
11 | 11 | <Setter Property="TextElement.Foreground" Value="{DynamicResource {x:Static vsui:EnvironmentColors.ComboBoxMouseDownGlyphBrushKey}}"/> |
12 | | - </Trigger> |
13 | | - </Style.Triggers> |
| 12 | + </Trigger> |
| 13 | + </Style.Triggers> |
14 | 14 | </Style> |
15 | 15 |
|
16 | 16 | <Style TargetType="TextBlock"> |
|
38 | 38 | </Setter.Value> |
39 | 39 | </Setter> |
40 | 40 | </Style> |
41 | | - |
| 41 | + |
| 42 | + <Style TargetType="Path"> |
| 43 | + <Setter Property="Fill" Value="{DynamicResource {x:Static vsui:EnvironmentColors.ToolWindowTextBrushKey}}"/> |
| 44 | + <Style.Triggers> |
| 45 | + <Trigger Property="controls:StyleManager.IsHighlighted" Value="True"> |
| 46 | + <Setter Property="Fill" Value="{DynamicResource {x:Static vsui:EnvironmentColors.ComboBoxMouseDownGlyphBrushKey}}"/> |
| 47 | + </Trigger> |
| 48 | + </Style.Triggers> |
| 49 | + </Style> |
| 50 | + |
42 | 51 | <Style TargetType="Button"> |
43 | 52 | <Setter Property="Foreground" Value="{DynamicResource {x:Static vsui:EnvironmentColors.ToolWindowTextBrushKey}}"/> |
44 | 53 | <Setter Property="Padding" Value="4"/> |
|
123 | 132 |
|
124 | 133 | <Style TargetType="ListBoxItem"> |
125 | 134 | <Setter Property="HorizontalContentAlignment" Value="Stretch"/> |
| 135 | + <Setter Property="Foreground" Value="{DynamicResource {x:Static vsui:EnvironmentColors.ToolWindowTextBrushKey}}" /> |
126 | 136 | <Setter Property="Template"> |
127 | 137 | <Setter.Value> |
128 | 138 | <ControlTemplate TargetType="ListBoxItem"> |
|
149 | 159 | </ControlTemplate> |
150 | 160 | </Setter.Value> |
151 | 161 | </Setter> |
| 162 | + <Style.Triggers> |
| 163 | + <Trigger Property="IsSelected" Value="True"> |
| 164 | + <Setter Property="Foreground" Value="{DynamicResource {x:Static vsui:EnvironmentColors.ComboBoxMouseDownGlyphBrushKey}}"/> |
| 165 | + </Trigger> |
| 166 | + </Style.Triggers> |
152 | 167 | </Style> |
153 | 168 |
|
154 | 169 | <Style TargetType="ListBoxItem" x:Key="RadioButtonListBoxItem"> |
|
173 | 188 | <Setter.Value> |
174 | 189 | <ControlTemplate TargetType="ListBox"> |
175 | 190 | <Grid> |
176 | | - <ScrollViewer Background="{DynamicResource {x:Static vsui:EnvironmentColors.ToolWindowBackgroundBrushKey}}" HorizontalScrollBarVisibility="Auto"> |
| 191 | + <ScrollViewer Background="{DynamicResource {x:Static vsui:EnvironmentColors.ToolWindowBackgroundBrushKey}}" |
| 192 | + HorizontalScrollBarVisibility="Disabled"> |
177 | 193 | <ItemsPresenter /> |
178 | 194 | </ScrollViewer> |
179 | 195 | </Grid> |
|
662 | 678 | </ControlTemplate> |
663 | 679 | </Setter.Value> |
664 | 680 | </Setter> |
| 681 | + <Style.Triggers> |
| 682 | + <Trigger Property="IsSelected" Value="True"> |
| 683 | + <Setter Property="Foreground" Value="{DynamicResource {x:Static vsui:EnvironmentColors.ComboBoxMouseDownGlyphBrushKey}}"/> |
| 684 | + </Trigger> |
| 685 | + </Style.Triggers> |
665 | 686 | </Style> |
666 | 687 |
|
667 | 688 | <Style TargetType="ContextMenu"> |
|
685 | 706 | </Style> |
686 | 707 |
|
687 | 708 | <Style TargetType="MenuItem"> |
| 709 | + <Style.Triggers> |
| 710 | + <Trigger Property="Header" Value="-"> |
| 711 | + <Setter Property="Template"> |
| 712 | + <Setter.Value> |
| 713 | + <ControlTemplate TargetType="MenuItem"> |
| 714 | + <Separator Margin="3,0"/> |
| 715 | + </ControlTemplate> |
| 716 | + </Setter.Value> |
| 717 | + </Setter> |
| 718 | + </Trigger> |
| 719 | + </Style.Triggers> |
688 | 720 | <Setter Property="Template"> |
689 | 721 | <Setter.Value> |
690 | 722 | <ControlTemplate TargetType="MenuItem"> |
|
741 | 773 | </Style> |
742 | 774 |
|
743 | 775 | <Style TargetType="Separator"> |
| 776 | + <Setter Property="Margin" Value="3"/> |
744 | 777 | <Setter Property="Template"> |
745 | 778 | <Setter.Value> |
746 | 779 | <ControlTemplate TargetType="Separator"> |
747 | | - <Border Margin="3,3" Height="1" Opacity="0.5" |
| 780 | + <Border Margin="{TemplateBinding Margin}" Height="1" Opacity="0.5" |
748 | 781 | Background="{DynamicResource {x:Static vsui:EnvironmentColors.ToolWindowTextBrushKey}}"/> |
749 | 782 | </ControlTemplate> |
750 | 783 | </Setter.Value> |
|
774 | 807 | <Path HorizontalAlignment="Center" |
775 | 808 | VerticalAlignment="Center" |
776 | 809 | Data="M 0 0 L 4 4 L 8 0 Z" |
777 | | - Fill="{DynamicResource {x:Static vsui:EnvironmentColors.ToolWindowTextBrushKey}}"/> |
| 810 | + Style="{StaticResource {x:Type Path}}"/> |
778 | 811 | </Border> |
779 | 812 | <Grid Margin="3" Background="Transparent"> |
780 | 813 | <ContentPresenter x:Name="_content" |
|
0 commit comments