-
Notifications
You must be signed in to change notification settings - Fork 2
/
App.xaml
37 lines (33 loc) · 1.75 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
25
26
27
28
29
30
31
32
33
34
35
36
37
<Application x:Class="TikTokTTS.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:TikTokTTS"
StartupUri="Views/MainWindow.xaml"
xmlns:sample="clr-namespace:ModernWpf.SampleApp.Common"
xmlns:ui="http://schemas.modernwpf.com/2019">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ui:ThemeResources />
<ui:XamlControlsResources />
</ResourceDictionary.MergedDictionaries>
<Thickness x:Key="ControlPageContentMargin">24,0,24,20</Thickness>
<BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" />
<Style x:Key="OptionsPanelStyle" TargetType="ui:SimpleStackPanel">
<Setter Property="Spacing" Value="12" />
<Style.Resources>
<Style TargetType="ComboBox" BasedOn="{StaticResource {x:Type ComboBox}}">
<Setter Property="MinWidth" Value="200" />
</Style>
<Style TargetType="TextBox" BasedOn="{StaticResource {x:Type TextBox}}">
<Setter Property="MinWidth" Value="200" />
</Style>
<Style TargetType="DatePicker" BasedOn="{StaticResource {x:Type DatePicker}}">
<Setter Property="MinWidth" Value="200" />
</Style>
</Style.Resources>
</Style>
<sample:EnumValuesConverter x:Key="EnumValuesConverter" />
</ResourceDictionary>
</Application.Resources>
</Application>