2019-12-18 22:33:23 +01:00
|
|
|
<Application x:Class="DS4WinWPF.App"
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:local="clr-namespace:DS4WinWPF"
|
2020-01-14 03:49:36 +01:00
|
|
|
Startup="Application_Startup" Exit="Application_Exit" ShutdownMode="OnExplicitShutdown" SessionEnding="Application_SessionEnding">
|
2019-12-18 22:33:23 +01:00
|
|
|
<Application.Resources>
|
|
|
|
<Style TargetType="{x:Type Button}" x:Key="NoBGHoverBtn">
|
|
|
|
<Setter Property="Background" Value="Transparent" />
|
|
|
|
<Setter Property="Template">
|
|
|
|
<Setter.Value>
|
|
|
|
<ControlTemplate TargetType="{x:Type Button}">
|
|
|
|
<Border Name="border" BorderThickness="0" Background="{TemplateBinding Background}">
|
|
|
|
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" />
|
|
|
|
</Border>
|
|
|
|
</ControlTemplate>
|
|
|
|
</Setter.Value>
|
|
|
|
</Setter>
|
|
|
|
</Style>
|
2020-02-03 22:22:08 +01:00
|
|
|
<Style TargetType="{x:Type Window}">
|
|
|
|
<Setter Property="TextOptions.TextFormattingMode" Value="Display" />
|
|
|
|
<Setter Property="TextOptions.TextRenderingMode" Value="ClearType" />
|
|
|
|
<Setter Property="TextOptions.TextHintingMode" Value="Fixed" />
|
|
|
|
</Style>
|
2019-12-18 22:33:23 +01:00
|
|
|
</Application.Resources>
|
|
|
|
</Application>
|