|
123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <ResourceDictionary
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:view="clr-namespace:XHWK.WKTool.View">
-
- <ResourceDictionary.MergedDictionaries>
- <ResourceDictionary Source="pack://application:,,,/Resources/StyleScrolllview.xaml" />
- <ResourceDictionary Source="pack://application:,,,/Resources/StyleButton.xaml" />
- <ResourceDictionary Source="pack://application:,,,/Resources/StyleComboBox.xaml" />
- <ResourceDictionary Source="pack://application:,,,/Resources/StyleZRoundButton.xaml" />
- </ResourceDictionary.MergedDictionaries>
-
- <Style BasedOn="{StaticResource ForScrollbar}" TargetType="ScrollBar" />
- <Style BasedOn="{StaticResource ForScrollviewer}" TargetType="ScrollViewer" />
- <Style BasedOn="{StaticResource ZRoundButtonStyle}" TargetType="view:ZRoundButton" />
- <Style BasedOn="{StaticResource MyButton}" TargetType="Button" />
-
- <Style x:Key="ZWinStyle" TargetType="Window">
- <Setter Property="AllowsTransparency" Value="False" />
- <Setter Property="Background" Value="Transparent" />
- <Setter Property="BorderBrush" Value="Transparent" />
- <Setter Property="BorderThickness" Value="0" />
- <Setter Property="WindowChrome.WindowChrome">
- <Setter.Value>
- <WindowChrome
- CaptionHeight="0"
- CornerRadius="0"
- GlassFrameThickness="-1"
- NonClientFrameEdges="None"
- ResizeBorderThickness="0"
- UseAeroCaptionButtons="False" />
- </Setter.Value>
- </Setter>
-
- <Style.Triggers>
- <Trigger Property="WindowState" Value="Maximized">
- <Setter Property="BorderThickness" Value="6" />
- </Trigger>
- </Style.Triggers>
- </Style>
-
- </ResourceDictionary>
|