274 lines
26 KiB
XML
274 lines
26 KiB
XML
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary>
|
|
<DrawingImage x:Key="RemoveIcon">
|
|
<DrawingImage.Drawing>
|
|
<DrawingGroup ClipGeometry="M0,0 V512.001 H512.001 V0 H0 Z">
|
|
<DrawingGroup Opacity="1">
|
|
<DrawingGroup Opacity="1">
|
|
<GeometryDrawing Brush="#FF000000"
|
|
Geometry="F1 M512.001,512.001z M0,0z M294.111,256.001L504.109,46.003C514.632,35.479 514.632,18.417 504.109,7.894 493.585,-2.63 476.522,-2.63 465.999,7.894L256,217.892 46.002,7.894C35.478,-2.63 18.416,-2.63 7.893,7.894 -2.63,18.418 -2.631,35.48 7.893,46.003L217.891,256.001 7.893,465.999C-2.631,476.523 -2.631,493.585 7.893,504.108 18.417,514.632 35.479,514.631 46.002,504.108L256,294.11 465.997,504.108C476.521,514.632 493.584,514.631 504.107,504.108 514.63,493.584 514.63,476.522 504.107,465.999L294.111,256.001z" />
|
|
</DrawingGroup>
|
|
</DrawingGroup>
|
|
</DrawingGroup>
|
|
</DrawingImage.Drawing>
|
|
</DrawingImage>
|
|
<DrawingImage x:Key="PersonIcon">
|
|
<DrawingImage.Drawing>
|
|
<DrawingGroup ClipGeometry="M-42,0 V512.001 H470 V-42 H0 Z">
|
|
<DrawingGroup.Transform>
|
|
<TranslateTransform X="42" Y="0" />
|
|
</DrawingGroup.Transform>
|
|
<GeometryDrawing Brush="#FF000000"
|
|
Geometry="F1 M512,512.001z M0,0z M210.351562,246.632812C244.234375,246.632812 273.570312,234.480469 297.546875,210.503906 321.515625,186.53125 333.671875,157.199219 333.671875,123.3125 333.671875,89.4375 321.519531,60.101562 297.542969,36.121094 273.566406,12.152344 244.230469,0 210.351562,0 176.464844,0 147.132812,12.152344 123.160156,36.125 99.1875,60.097656 87.03125,89.433594 87.03125,123.3125 87.03125,157.199219 99.1875,186.535156 123.160156,210.507812 147.140625,234.476562 176.476562,246.632812 210.351562,246.632812z M144.378906,57.339844C162.773438,38.945312 184.351562,30.003906 210.351562,30.003906 236.347656,30.003906 257.929688,38.945312 276.328125,57.339844 294.722656,75.738281 303.667969,97.320312 303.667969,123.3125 303.667969,149.3125 294.722656,170.890625 276.328125,189.289062 257.929688,207.6875 236.347656,216.628906 210.351562,216.628906 184.359375,216.628906 162.78125,207.683594 144.378906,189.289062 125.980469,170.894531 117.035156,149.3125 117.035156,123.3125 117.035156,97.320312 125.980469,75.738281 144.378906,57.339844z M144.378906,57.339844" />
|
|
<GeometryDrawing Brush="#FF000000"
|
|
Geometry="F1 M512,512.001z M0,0z M426.128906,393.703125C425.4375,383.726562 424.039062,372.84375 421.980469,361.351562 419.902344,349.773438 417.226562,338.828125 414.023438,328.824219 410.710938,318.484375 406.214844,308.273438 400.648438,298.488281 394.878906,288.332031 388.097656,279.488281 380.488281,272.210938 372.53125,264.597656 362.789062,258.476562 351.523438,254.011719 340.296875,249.570312 327.855469,247.320312 314.546875,247.320312 309.320312,247.320312 304.265625,249.464844 294.503906,255.820312 288.496094,259.738281 281.46875,264.269531 273.625,269.28125 266.917969,273.554688 257.832031,277.558594 246.609375,281.183594 235.660156,284.726562 224.542969,286.523438 213.566406,286.523438 202.597656,286.523438 191.480469,284.726562 180.523438,281.183594 169.3125,277.5625 160.222656,273.558594 153.527344,269.285156 145.757812,264.320312 138.726562,259.789062 132.628906,255.816406 122.875,249.460938 117.820312,247.316406 112.59375,247.316406 99.28125,247.316406 86.84375,249.570312 75.621094,254.015625 64.363281,258.472656 54.617188,264.59375 46.652344,272.214844 39.042969,279.496094 32.261719,288.335938 26.496094,298.488281 20.9375,308.273438 16.4375,318.480469 13.125,328.828125 9.925781,338.832031 7.25,349.773438 5.171875,361.351562 3.109375,372.828125 1.714844,383.714844 1.023438,393.714844 0.34375,403.492188 -4.44089209850063E-16,413.667969 -4.44089209850063E-16,423.949219 -4.44089209850063E-16,450.675781 8.496094,472.3125 25.25,488.269531 41.796875,504.015625 63.6875,512 90.316406,512L336.847656,512C363.46875,512 385.359375,504.015625 401.910156,488.269531 418.667969,472.324219 427.164062,450.679688 427.164062,423.945312 427.160156,413.628906 426.8125,403.453125 426.128906,393.703125z M381.222656,466.53125C370.289062,476.9375,355.773438,481.996094,336.84375,481.996094L90.316406,481.996094C71.382812,481.996094 56.867188,476.9375 45.9375,466.535156 35.214844,456.328125 30.003906,442.394531 30.003906,423.949219 30.003906,414.355469 30.320312,404.882812 30.953125,395.789062 31.570312,386.867188 32.832031,377.066406 34.703125,366.652344 36.550781,356.367188 38.902344,346.714844 41.699219,337.976562 44.382812,329.597656 48.042969,321.300781 52.582031,313.308594 56.914062,305.691406 61.898438,299.15625 67.398438,293.890625 72.542969,288.964844 79.027344,284.933594 86.667969,281.910156 93.734375,279.113281 101.675781,277.582031 110.296875,277.351562 111.347656,277.910156 113.21875,278.976562 116.25,280.953125 122.417969,284.972656 129.527344,289.558594 137.386719,294.578125 146.246094,300.226562 157.660156,305.328125 171.296875,309.730469 185.238281,314.238281 199.457031,316.527344 213.570312,316.527344 227.683594,316.527344 241.90625,314.238281 255.839844,309.734375 269.488281,305.324219 280.898438,300.226562 289.769531,294.570312 297.8125,289.429688 304.722656,284.976562 310.890625,280.953125 313.921875,278.980469 315.792969,277.910156 316.84375,277.351562 325.46875,277.582031 333.410156,279.113281 340.480469,281.910156 348.117188,284.933594 354.601562,288.96875 359.746094,293.890625 365.246094,299.152344 370.230469,305.6875 374.5625,313.3125 379.105469,321.300781 382.769531,329.601562 385.449219,337.972656 388.25,346.722656 390.605469,356.371094 392.449219,366.648438 394.316406,377.082031 395.582031,386.886719 396.199219,395.792969L396.199219,395.800781C396.835938,404.859375 397.15625,414.328125 397.160156,423.949219 397.15625,442.398438 391.945312,456.328125 381.222656,466.53125z M381.222656,466.53125" />
|
|
</DrawingGroup>
|
|
</DrawingImage.Drawing>
|
|
</DrawingImage>
|
|
<DrawingImage x:Key="exportIcon">
|
|
<DrawingImage.Drawing>
|
|
<DrawingGroup ClipGeometry="M0,0 V502 H502 V0 H0 Z">
|
|
<DrawingGroup Opacity="1">
|
|
<DrawingGroup Opacity="1">
|
|
<DrawingGroup Opacity="1">
|
|
<GeometryDrawing Brush="#FF000000"
|
|
Geometry="F1 M502,502z M0,0z M491.951,414.346L425.581,347.976C418.61,341.006 408.221,338.94 399.113,342.712 390.005,346.484 384.12,355.292 384.12,365.15L384.12,375.13C384.12,377.494,382.197,379.417,379.833,379.417L373.12,379.417 373.12,103C373.12,100.348,372.066,97.804,370.191,95.929L277.191,2.929C275.316,1.054,272.772,0,270.12,0L17.12,0C11.597,0,7.12,4.477,7.12,10L7.12,492C7.12,497.523,11.597,502,17.12,502L363.12,502C368.643,502,373.12,497.523,373.12,492L373.12,463.417 379.833,463.417C382.197,463.417,384.12,465.34,384.12,467.704L384.12,477.684C384.12,487.542 390.005,496.35 399.113,500.122 402.136,501.374 405.299,501.983 408.432,501.983 414.74,501.983 420.924,499.514 425.581,494.858L491.951,428.488C493.826,426.613 494.88,424.069 494.88,421.417 494.88,418.765 493.826,416.221 491.951,414.346z M280.12,34.142L338.978,93 280.12,93 280.12,34.142z M353.12,482L27.12,482 27.12,20 260.12,20 260.12,103C260.12,108.523,264.597,113,270.12,113L353.12,113 353.12,379.417 332.12,379.417C326.597,379.417,322.12,383.894,322.12,389.417L322.12,453.417C322.12,458.94,326.597,463.417,332.12,463.417L353.12,463.417 353.12,482z M411.438,480.716C409.676,482.479 407.755,482.054 406.766,481.645 405.778,481.235 404.12,480.177 404.12,477.684L404.12,467.704C404.12,454.312,393.225,443.417,379.833,443.417L342.12,443.417 342.12,399.417 379.833,399.417C393.225,399.417,404.12,388.522,404.12,375.13L404.12,365.15C404.12,362.658 405.778,361.599 406.766,361.19 407.754,360.78 409.676,360.356 411.438,362.119L470.737,421.417 411.438,480.716z" />
|
|
<GeometryDrawing Brush="#FF000000"
|
|
Geometry="F1 M502,502z M0,0z M77.62,174L243.12,174C248.643,174 253.12,169.523 253.12,164 253.12,158.477 248.643,154 243.12,154L77.62,154C72.097,154 67.62,158.477 67.62,164 67.62,169.523 72.097,174 77.62,174z" />
|
|
<GeometryDrawing Brush="#FF000000"
|
|
Geometry="F1 M502,502z M0,0z M302.62,220L77.62,220C72.097,220 67.62,224.477 67.62,230 67.62,235.523 72.097,240 77.62,240L302.62,240C308.143,240 312.62,235.523 312.62,230 312.62,224.477 308.143,220 302.62,220z" />
|
|
<GeometryDrawing Brush="#FF000000"
|
|
Geometry="F1 M502,502z M0,0z M302.62,286L77.62,286C72.097,286 67.62,290.477 67.62,296 67.62,301.523 72.097,306 77.62,306L302.62,306C308.143,306 312.62,301.523 312.62,296 312.62,290.477 308.143,286 302.62,286z" />
|
|
<GeometryDrawing Brush="#FF000000"
|
|
Geometry="F1 M502,502z M0,0z M302.62,352L77.62,352C72.097,352 67.62,356.477 67.62,362 67.62,367.523 72.097,372 77.62,372L302.62,372C308.143,372 312.62,367.523 312.62,362 312.62,356.477 308.143,352 302.62,352z" />
|
|
<GeometryDrawing Brush="#FF000000"
|
|
Geometry="F1 M502,502z M0,0z M302.62,154L280.62,154C275.097,154 270.62,158.477 270.62,164 270.62,169.523 275.097,174 280.62,174L302.62,174C308.143,174 312.62,169.523 312.62,164 312.62,158.477 308.143,154 302.62,154z" />
|
|
</DrawingGroup>
|
|
</DrawingGroup>
|
|
</DrawingGroup>
|
|
</DrawingGroup>
|
|
</DrawingImage.Drawing>
|
|
</DrawingImage>
|
|
</ResourceDictionary>
|
|
<ResourceDictionary>
|
|
<SolidColorBrush x:Key="ToolBarHorizontalBackground" Color="#FFEEF5FD" />
|
|
<SolidColorBrush x:Key="ToolBarToggleButtonVerticalBackground" Color="#FFEEF5FD" />
|
|
<SolidColorBrush x:Key="ToolBarButtonHover" Color="#210080FF" />
|
|
<SolidColorBrush x:Key="ToolBarGripper" Color="#FF6D6D6D" />
|
|
<Style x:Key="ToolBarVerticalOverflowButtonStyle" TargetType="{x:Type ToggleButton}">
|
|
<Setter Property="Background" Value="Transparent" />
|
|
<Setter Property="MinHeight" Value="0" />
|
|
<Setter Property="MinWidth" Value="0" />
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type ToggleButton}">
|
|
<Border x:Name="Bd" SnapsToDevicePixels="true" CornerRadius="0,0,3,3"
|
|
Background="{TemplateBinding Background}">
|
|
<Canvas Width="7" VerticalAlignment="Bottom" SnapsToDevicePixels="true"
|
|
Margin="2,7,2,2" Height="6" HorizontalAlignment="Right">
|
|
<Path Data="M 1.5 1 L 1.5 6" Stroke="White" />
|
|
<Path Data="M 0.5 0 L 0.5 5" Stroke="{TemplateBinding Foreground}" />
|
|
<Path Data="M 3.5 0.5 L 7 3.5 L 4 6.5 Z" Fill="White" />
|
|
<Path Data="M 3 -0.5 L 6 2.5 L 3 5.5 Z" Fill="{TemplateBinding Foreground}" />
|
|
</Canvas>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="true">
|
|
<Setter Property="Background" TargetName="Bd"
|
|
Value="{StaticResource ToolBarButtonHover}" />
|
|
</Trigger>
|
|
<Trigger Property="IsKeyboardFocused" Value="true">
|
|
<Setter Property="Background" TargetName="Bd"
|
|
Value="{StaticResource ToolBarButtonHover}" />
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="false">
|
|
<Setter Property="Foreground" Value="{StaticResource ToolBarGripper}" />
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding Source={x:Static SystemParameters.HighContrast}}" Value="true">
|
|
<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
<SolidColorBrush x:Key="ToolBarVerticalBackground" Color="#FFEEF5FD" />
|
|
<SolidColorBrush x:Key="ToolBarToggleButtonHorizontalBackground" Color="#FFEEF5FD" />
|
|
<Style x:Key="ToolBarHorizontalOverflowButtonStyle" TargetType="{x:Type ToggleButton}">
|
|
<Setter Property="Background" Value="Transparent" />
|
|
<Setter Property="MinHeight" Value="0" />
|
|
<Setter Property="MinWidth" Value="0" />
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type ToggleButton}">
|
|
<Border x:Name="Bd" SnapsToDevicePixels="true" CornerRadius="0,3,3,0"
|
|
Background="{TemplateBinding Background}">
|
|
<Canvas Width="6" VerticalAlignment="Bottom" SnapsToDevicePixels="true"
|
|
Margin="7,2,2,2" Height="7" HorizontalAlignment="Right">
|
|
<Path Data="M 1 1.5 L 6 1.5" Stroke="White" />
|
|
<Path Data="M 0 0.5 L 5 0.5" Stroke="{TemplateBinding Foreground}" />
|
|
<Path Data="M 0.5 4 L 6.5 4 L 3.5 7 Z" Fill="White" />
|
|
<Path Data="M -0.5 3 L 5.5 3 L 2.5 6 Z" Fill="{TemplateBinding Foreground}" />
|
|
</Canvas>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="true">
|
|
<Setter Property="Background" TargetName="Bd"
|
|
Value="{StaticResource ToolBarButtonHover}" />
|
|
</Trigger>
|
|
<Trigger Property="IsKeyboardFocused" Value="true">
|
|
<Setter Property="Background" TargetName="Bd"
|
|
Value="{StaticResource ToolBarButtonHover}" />
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="false">
|
|
<Setter Property="Foreground" Value="{StaticResource ToolBarGripper}" />
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding Source={x:Static SystemParameters.HighContrast}}" Value="true">
|
|
<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
<SolidColorBrush x:Key="ToolBarMenuBorder" Color="#FFB6BDC5" />
|
|
<SolidColorBrush x:Key="ToolBarSubMenuBackground" Color="#FFEEF5FD" />
|
|
<Style x:Key="ToolBarThumbStyle" TargetType="{x:Type Thumb}">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type Thumb}">
|
|
<Border SnapsToDevicePixels="True" Padding="{TemplateBinding Padding}"
|
|
Background="Transparent">
|
|
<Rectangle>
|
|
<Rectangle.Fill>
|
|
<DrawingBrush ViewboxUnits="Absolute" ViewportUnits="Absolute"
|
|
Viewport="0,0,4,4" Viewbox="0,0,4,4" TileMode="Tile">
|
|
<DrawingBrush.Drawing>
|
|
<DrawingGroup>
|
|
<GeometryDrawing Brush="White" Geometry="M 1 1 L 1 3 L 3 3 L 3 1 z" />
|
|
<GeometryDrawing Brush="{StaticResource ToolBarGripper}"
|
|
Geometry="M 0 0 L 0 2 L 2 2 L 2 0 z" />
|
|
</DrawingGroup>
|
|
</DrawingBrush.Drawing>
|
|
</DrawingBrush>
|
|
</Rectangle.Fill>
|
|
</Rectangle>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="true">
|
|
<Setter Property="Cursor" Value="SizeAll" />
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
<Style x:Key="ToolBarMainPanelBorderStyle" TargetType="{x:Type Border}">
|
|
<Setter Property="Margin" Value="0,0,11,0" />
|
|
<Setter Property="CornerRadius" Value="3,3,3,3" />
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding Source={x:Static SystemParameters.HighContrast}}" Value="true">
|
|
<Setter Property="CornerRadius" Value="0,0,0,0" />
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
<Style x:Key="ToolBarStyle1" TargetType="{x:Type ToolBar}">
|
|
<Setter Property="Background" Value="Transparent" />
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type ToolBar}">
|
|
<Grid x:Name="Grid" Margin="3,1,1,1" SnapsToDevicePixels="true">
|
|
<Grid x:Name="OverflowGrid" HorizontalAlignment="Right">
|
|
<ToggleButton x:Name="OverflowButton" ClickMode="Press" FocusVisualStyle="{x:Null}"
|
|
IsChecked="{Binding IsOverflowOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
|
|
IsEnabled="{TemplateBinding HasOverflowItems}"
|
|
Style="{StaticResource ToolBarHorizontalOverflowButtonStyle}" />
|
|
<Popup x:Name="OverflowPopup" AllowsTransparency="true" Focusable="false"
|
|
IsOpen="{Binding IsOverflowOpen, RelativeSource={RelativeSource TemplatedParent}}"
|
|
PopupAnimation="{DynamicResource {x:Static SystemParameters.ComboBoxPopupAnimationKey}}"
|
|
Placement="Bottom" StaysOpen="false">
|
|
<Border x:Name="ToolBarSubMenuBorder"
|
|
BorderBrush="{StaticResource ToolBarMenuBorder}"
|
|
BorderThickness="1"
|
|
Background="{StaticResource ToolBarSubMenuBackground}"
|
|
RenderOptions.ClearTypeHint="Enabled">
|
|
<ToolBarOverflowPanel x:Name="PART_ToolBarOverflowPanel"
|
|
KeyboardNavigation.DirectionalNavigation="Cycle"
|
|
FocusVisualStyle="{x:Null}" Focusable="true"
|
|
Margin="2"
|
|
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
|
|
KeyboardNavigation.TabNavigation="Cycle"
|
|
WrapWidth="200" />
|
|
</Border>
|
|
</Popup>
|
|
</Grid>
|
|
<Border x:Name="MainPanelBorder" BorderBrush="{TemplateBinding BorderBrush}"
|
|
BorderThickness="{TemplateBinding BorderThickness}"
|
|
Background="{TemplateBinding Background}" Padding="{TemplateBinding Padding}"
|
|
Style="{StaticResource ToolBarMainPanelBorderStyle}" HorizontalAlignment="Left"
|
|
Margin="0" Width="532.6">
|
|
<DockPanel KeyboardNavigation.TabIndex="1" KeyboardNavigation.TabNavigation="Local">
|
|
<Thumb x:Name="ToolBarThumb" Margin="-3,-1,0,0" Padding="6,5,1,6"
|
|
Style="{StaticResource ToolBarThumbStyle}" Width="10"
|
|
Visibility="Collapsed" />
|
|
<ContentPresenter x:Name="ToolBarHeader" ContentSource="Header"
|
|
HorizontalAlignment="Center" Margin="4,0,4,0"
|
|
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
|
|
VerticalAlignment="Center" />
|
|
<ToolBarPanel x:Name="PART_ToolBarPanel" IsItemsHost="true" Margin="0,1,2,2"
|
|
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
|
|
</DockPanel>
|
|
</Border>
|
|
</Grid>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsOverflowOpen" Value="true">
|
|
<Setter Property="IsEnabled" TargetName="ToolBarThumb" Value="false" />
|
|
</Trigger>
|
|
<Trigger Property="Header" Value="{x:Null}">
|
|
<Setter Property="Visibility" TargetName="ToolBarHeader" Value="Collapsed" />
|
|
</Trigger>
|
|
<Trigger Property="ToolBarTray.IsLocked" Value="true">
|
|
<Setter Property="Visibility" TargetName="ToolBarThumb" Value="Collapsed" />
|
|
</Trigger>
|
|
<Trigger Property="Orientation" Value="Vertical">
|
|
<Setter Property="Margin" TargetName="Grid" Value="1,3,1,1" />
|
|
<Setter Property="Style" TargetName="OverflowButton"
|
|
Value="{StaticResource ToolBarVerticalOverflowButtonStyle}" />
|
|
<Setter Property="Height" TargetName="ToolBarThumb" Value="10" />
|
|
<Setter Property="Width" TargetName="ToolBarThumb" Value="Auto" />
|
|
<Setter Property="Margin" TargetName="ToolBarThumb" Value="-1,-3,0,0" />
|
|
<Setter Property="Padding" TargetName="ToolBarThumb" Value="5,6,6,1" />
|
|
<Setter Property="Margin" TargetName="ToolBarHeader" Value="0,0,0,4" />
|
|
<Setter Property="Margin" TargetName="PART_ToolBarPanel" Value="1,0,2,2" />
|
|
<Setter Property="DockPanel.Dock" TargetName="ToolBarThumb" Value="Top" />
|
|
<Setter Property="DockPanel.Dock" TargetName="ToolBarHeader" Value="Top" />
|
|
<Setter Property="HorizontalAlignment" TargetName="OverflowGrid" Value="Stretch" />
|
|
<Setter Property="VerticalAlignment" TargetName="OverflowGrid" Value="Bottom" />
|
|
<Setter Property="Placement" TargetName="OverflowPopup" Value="Right" />
|
|
<Setter Property="Margin" TargetName="MainPanelBorder" Value="0,0,0,11" />
|
|
<Setter Property="Background" Value="{StaticResource ToolBarVerticalBackground}" />
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="false">
|
|
<Setter Property="Foreground"
|
|
Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding Source={x:Static SystemParameters.HighContrast}}" Value="true">
|
|
<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
</ResourceDictionary>
|
|
</ResourceDictionary.MergedDictionaries>
|
|
</ResourceDictionary> |