-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.xaml
24 lines (24 loc) · 1.18 KB
/
App.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<Application x:Class="Gh61.EdgePdfPreviewEnabler.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Gh61.EdgePdfPreviewEnabler"
StartupUri="MainWindow.xaml">
<Application.Resources>
<!-- Styles -->
<Style TargetType="TextBlock">
<Setter Property="VerticalAlignment" Value="Center" />
</Style>
<Style TargetType="{x:Type CheckBox}">
<Setter Property="VerticalContentAlignment" Value="Center" />
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="Margin" Value="2" />
</Style>
<Style TargetType="{x:Type Button}">
<Setter Property="MinWidth" Value="60"/>
<Setter Property="Padding" Value="8 4" />
<Setter Property="Margin" Value="2" />
<!--Default Button content to be the Text provided from the Command.-->
<Setter Property="Content" Value="{Binding RelativeSource={RelativeSource Self}, Path=Command.Text}"/>
</Style>
</Application.Resources>
</Application>