2021-07-20 01:26:10 -07:00
|
|
|
<ResourceDictionary
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
|
|
|
|
|
|
<Style x:Key="Style.Window" TargetType="{x:Type Window}">
|
|
|
|
<Setter Property="SnapsToDevicePixels" Value="True"/>
|
|
|
|
<Setter Property="UseLayoutRounding" Value="True"/>
|
|
|
|
<Setter Property="Background" Value="{DynamicResource Brush.Window}"/>
|
|
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
|
|
<Setter Property="BorderBrush" Value="{DynamicResource Brush.WindowBorder}"/>
|
|
|
|
<Setter Property="TextOptions.TextFormattingMode" Value="Display"/>
|
|
|
|
<Setter Property="TextOptions.TextHintingMode" Value="Animated"/>
|
|
|
|
<Setter Property="TextOptions.TextRenderingMode" Value="ClearType"/>
|
2021-08-04 22:44:25 -07:00
|
|
|
<Setter Property="RenderOptions.ClearTypeHint" Value="Enabled"/>
|
2021-07-20 01:26:10 -07:00
|
|
|
|
|
|
|
<Setter Property="WindowChrome.WindowChrome">
|
|
|
|
<Setter.Value>
|
|
|
|
<WindowChrome CaptionHeight="28" UseAeroCaptionButtons="False" ResizeBorderThickness="4" CornerRadius="0"/>
|
|
|
|
</Setter.Value>
|
|
|
|
</Setter>
|
|
|
|
|
2021-08-06 02:19:04 -07:00
|
|
|
<Setter Property="Template">
|
|
|
|
<Setter.Value>
|
|
|
|
<ControlTemplate TargetType="{x:Type Window}">
|
|
|
|
<AdornerDecorator>
|
|
|
|
<Border
|
|
|
|
Padding="{TemplateBinding Padding}"
|
|
|
|
Background="{TemplateBinding Background}"
|
|
|
|
BorderThickness="{TemplateBinding BorderThickness}"
|
|
|
|
BorderBrush="{TemplateBinding BorderBrush}">
|
|
|
|
<ContentPresenter/>
|
|
|
|
</Border>
|
|
|
|
</AdornerDecorator>
|
|
|
|
</ControlTemplate>
|
|
|
|
</Setter.Value>
|
|
|
|
</Setter>
|
2021-07-20 01:26:10 -07:00
|
|
|
</Style>
|
|
|
|
</ResourceDictionary>
|