|
|
|
@ -1,28 +1,26 @@
@@ -1,28 +1,26 @@
|
|
|
|
|
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
|
|
|
xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero" |
|
|
|
|
xmlns:debugging="clr-namespace:Debugger.AddIn.Tooltips"> |
|
|
|
|
|
|
|
|
|
<BitmapImage x:Key="MagnifierImage" UriSource="magnifier.png" /> |
|
|
|
|
|
|
|
|
|
<Style x:Key="ComboBoxFocusVisual"> |
|
|
|
|
<Setter Property="Control.Template"> |
|
|
|
|
<Setter.Value> |
|
|
|
|
<ControlTemplate> |
|
|
|
|
<Rectangle Stroke="Black" StrokeDashArray="1 2" StrokeThickness="1" Margin="4,4,21,4" SnapsToDevicePixels="true"/> |
|
|
|
|
</ControlTemplate> |
|
|
|
|
</Setter.Value> |
|
|
|
|
</Setter> |
|
|
|
|
</Style> |
|
|
|
|
<LinearGradientBrush x:Key="ButtonNormalBackground" EndPoint="0,1" StartPoint="0,0"> |
|
|
|
|
<GradientStop Color="#F3F3F3" Offset="0"/> |
|
|
|
|
<GradientStop Color="#EBEBEB" Offset="0.5"/> |
|
|
|
|
<GradientStop Color="#DDDDDD" Offset="0.5"/> |
|
|
|
|
<GradientStop Color="#CDCDCD" Offset="1"/> |
|
|
|
|
</LinearGradientBrush> |
|
|
|
|
<SolidColorBrush x:Key="ButtonNormalBorder" Color="#FF707070"/> |
|
|
|
|
<Geometry x:Key="DownArrowGeometry">M 0 0 L 2 3 L 4 0 Z</Geometry> |
|
|
|
|
<Style x:Key="ComboBoxReadonlyToggleButton" TargetType="{x:Type ToggleButton}"> |
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
|
|
|
xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero" |
|
|
|
|
xmlns:debugging="clr-namespace:Debugger.AddIn.Tooltips" |
|
|
|
|
xmlns:core="http://icsharpcode.net/sharpdevelop/core"> |
|
|
|
|
<Style x:Key="ComboBoxFocusVisual"> |
|
|
|
|
<Setter Property="Control.Template"> |
|
|
|
|
<Setter.Value> |
|
|
|
|
<ControlTemplate> |
|
|
|
|
<Rectangle Stroke="Black" StrokeDashArray="1 2" StrokeThickness="1" Margin="4,4,21,4" SnapsToDevicePixels="true"/> |
|
|
|
|
</ControlTemplate> |
|
|
|
|
</Setter.Value> |
|
|
|
|
</Setter> |
|
|
|
|
</Style> |
|
|
|
|
<LinearGradientBrush x:Key="ButtonNormalBackground" EndPoint="0,1" StartPoint="0,0"> |
|
|
|
|
<GradientStop Color="#F3F3F3" Offset="0"/> |
|
|
|
|
<GradientStop Color="#EBEBEB" Offset="0.5"/> |
|
|
|
|
<GradientStop Color="#DDDDDD" Offset="0.5"/> |
|
|
|
|
<GradientStop Color="#CDCDCD" Offset="1"/> |
|
|
|
|
</LinearGradientBrush> |
|
|
|
|
<SolidColorBrush x:Key="ButtonNormalBorder" Color="#FF707070"/> |
|
|
|
|
<Geometry x:Key="DownArrowGeometry">M 0 0 L 2 3 L 4 0 Z</Geometry> |
|
|
|
|
<Style x:Key="ComboBoxReadonlyToggleButton" TargetType="{x:Type ToggleButton}"> |
|
|
|
|
<Setter Property="OverridesDefaultStyle" Value="true"/> |
|
|
|
|
<Setter Property="IsTabStop" Value="false"/> |
|
|
|
|
<Setter Property="Focusable" Value="false"/> |
|
|
|
@ -40,7 +38,7 @@
@@ -40,7 +38,7 @@
|
|
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
<!-- |
|
|
|
|
<Rectangle Width="10" Height="10" Grid.Column="0" Fill="Black"></Rectangle> --> |
|
|
|
|
<Image Grid.Column="0" Width="10" Height="10" Stretch="Fill" Source="{StaticResource MagnifierImage}" /> |
|
|
|
|
<Image Grid.Column="0" Width="10" Height="10" Stretch="Fill" Source="{core:GetBitmap Icons.Magnifier}" /> |
|
|
|
|
<Path Grid.Column="1" x:Name="Arrow" Fill="Black" HorizontalAlignment="Center" Margin="0" VerticalAlignment="Center" Data="{StaticResource DownArrowGeometry}"/> |
|
|
|
|
</Grid> |
|
|
|
|
</Border> |
|
|
|
@ -52,8 +50,8 @@
@@ -52,8 +50,8 @@
|
|
|
|
|
<Trigger Property="IsMouseOver" Value="true"> |
|
|
|
|
<Setter TargetName="FaceBorder" Property="Background" Value="White"/> |
|
|
|
|
<Setter TargetName="FaceBorder" Property="BorderBrush" Value="#FFE0EDFF"/> |
|
|
|
|
<!-- #FFE0EDFF border --> |
|
|
|
|
<!-- #FFD9D9E9 fill --> |
|
|
|
|
<!-- #FFE0EDFF border --> |
|
|
|
|
<!-- #FFD9D9E9 fill --> |
|
|
|
|
</Trigger> |
|
|
|
|
</ControlTemplate.Triggers> |
|
|
|
|
</ControlTemplate> |
|
|
|
@ -97,16 +95,16 @@
@@ -97,16 +95,16 @@
|
|
|
|
|
|
|
|
|
|
<!-- Content of ComboBox face --> |
|
|
|
|
<ContentPresenter |
|
|
|
|
HorizontalAlignment="Left" |
|
|
|
|
Margin="0" |
|
|
|
|
VerticalAlignment="Center" |
|
|
|
|
IsHitTestVisible="false" |
|
|
|
|
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" |
|
|
|
|
ContentStringFormat="{TemplateBinding SelectionBoxItemStringFormat}" |
|
|
|
|
Content=" " |
|
|
|
|
HorizontalAlignment="Left" |
|
|
|
|
Margin="0" |
|
|
|
|
VerticalAlignment="Center" |
|
|
|
|
IsHitTestVisible="false" |
|
|
|
|
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" |
|
|
|
|
ContentStringFormat="{TemplateBinding SelectionBoxItemStringFormat}" |
|
|
|
|
Content=" " |
|
|
|
|
|
|
|
|
|
ContentTemplate="{TemplateBinding SelectionBoxItemTemplate}" |
|
|
|
|
ContentTemplateSelector="{TemplateBinding ItemTemplateSelector}"/> |
|
|
|
|
ContentTemplate="{TemplateBinding SelectionBoxItemTemplate}" |
|
|
|
|
ContentTemplateSelector="{TemplateBinding ItemTemplateSelector}"/> |
|
|
|
|
</Grid> |
|
|
|
|
<ControlTemplate.Triggers> |
|
|
|
|
<Trigger Property="HasDropShadow" SourceName="PART_Popup" Value="true"> |
|
|
|
|