mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-30 04:54:20 +01:00
21 lines
1.0 KiB
Plaintext
21 lines
1.0 KiB
Plaintext
|
<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"
|
||
|
Startup="Application_Startup" Exit="Application_Exit" ShutdownMode="OnExplicitShutdown">
|
||
|
<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>
|
||
|
</Application.Resources>
|
||
|
</Application>
|