|
|
@@ -1,35 +0,0 @@
|
|
|
-<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
|
- <!--调整控制方式-->
|
|
|
- <Style TargetType="{x:Type ResizeGrip}" x:Key="ResizeGripStyle">
|
|
|
- <Setter Property="IsTabStop" Value="False"/>
|
|
|
- <Setter Property="Margin" Value="0,0,4,4"/>
|
|
|
- <Setter Property="MinWidth" Value="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}"/>
|
|
|
- <Setter Property="MinHeight" Value="{DynamicResource {x:Static SystemParameters.HorizontalScrollBarHeightKey}}"/>
|
|
|
- <Setter Property="MaxWidth" Value="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}"/>
|
|
|
- <Setter Property="MaxHeight" Value="{DynamicResource {x:Static SystemParameters.HorizontalScrollBarHeightKey}}"/>
|
|
|
- <Setter Property="Control.Template">
|
|
|
- <Setter.Value>
|
|
|
- <ControlTemplate TargetType="{x:Type ResizeGrip}">
|
|
|
- <Grid
|
|
|
- Background="{TemplateBinding Panel.Background}"
|
|
|
- SnapsToDevicePixels="True">
|
|
|
- <Path
|
|
|
- Margin="0,0,2,2"
|
|
|
- Data="M8,0L10,0 10,2 8,2z M4,4L6,4 6,6 4,6z M8,4L10,4 10,6 8,6z M0,8L2,8 2,10 0,10z M4,8L6,8 6,10 4,10z M8,8L10,8 10,10 8,10z"
|
|
|
- HorizontalAlignment="Right"
|
|
|
- Fill="#B1C9E8"
|
|
|
- VerticalAlignment="Bottom"/>
|
|
|
- <Path
|
|
|
- Margin="0,0,3,3"
|
|
|
- Data="M8,0L10,0 10,2 8,2z M4,4L6,4 6,6 4,6z M8,4L10,4 10,6 8,6z M0,8L2,8 2,10 0,10z M4,8L6,8 6,10 4,10z M8,8L10,8 10,10 8,10z"
|
|
|
- HorizontalAlignment="Right"
|
|
|
- Fill="#455D80"
|
|
|
- VerticalAlignment="Bottom"/>
|
|
|
- </Grid>
|
|
|
- </ControlTemplate>
|
|
|
- </Setter.Value>
|
|
|
- </Setter>
|
|
|
- </Style>
|
|
|
-
|
|
|
-</ResourceDictionary>
|