| 1 | <ResourceDictionary |
| 2 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| 3 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> |
| 4 | |
| 5 | <x:Double x:Key="BoxMinWidth">120</x:Double> |
| 6 | <x:Double x:Key="BoxMaxWidth">240</x:Double> |
| 7 | <x:Double x:Key="ButtonMinWidth">120</x:Double> |
| 8 | <x:Double x:Key="BoxPathMaxWidth">480</x:Double> |
| 9 | <x:Double x:Key="TextMaxWidth">240</x:Double> |
| 10 | <x:Double x:Key="TextPathMaxWidth">480</x:Double> |
| 11 | |
| 12 | <Style x:Key="PageTitleStyle" TargetType="TextBlock"> |
| 13 | <Setter Property="VerticalAlignment" Value="Center" /> |
| 14 | <Setter Property="FontWeight" Value="SemiLight" /> |
| 15 | <Setter Property="FontSize" Value="{StaticResource LargeFontSize}" /> |
| 16 | <Setter Property="TextTrimming" Value="CharacterEllipsis" /> |
| 17 | <Setter Property="TextWrapping" Value="NoWrap" /> |
| 18 | </Style> |
| 19 | |
| 20 | <Style x:Key="BodyTextStyle" TargetType="TextBlock"> |
| 21 | <Setter Property="FontWeight" Value="Normal" /> |
| 22 | <Setter Property="FontSize" Value="{StaticResource MediumFontSize}" /> |
| 23 | <Setter Property="TextTrimming" Value="CharacterEllipsis" /> |
| 24 | <Setter Property="TextWrapping" Value="Wrap" /> |
| 25 | </Style> |
| 26 | |
| 27 | <Style x:Key="BaseTextBlockStyle" TargetType="TextBlock"> |
| 28 | <Setter Property="FontSize" Value="14" /> |
| 29 | <Setter Property="TextWrapping" Value="Wrap" /> |
| 30 | <Setter Property="TextTrimming" Value="CharacterEllipsis" /> |
| 31 | </Style> |
| 32 | |
| 33 | <Style x:Key="SmallTextBlockStyle" TargetType="TextBlock"> |
| 34 | <Setter Property="FontSize" Value="12" /> |
| 35 | <Setter Property="TextWrapping" Value="Wrap" /> |
| 36 | <Setter Property="TextTrimming" Value="CharacterEllipsis" /> |
| 37 | </Style> |
| 38 | |
| 39 | <!-- Style (inc. the correct spacing) of a section header --> |
| 40 | <Style x:Key="PageHeaderTextBlockStyle" |
| 41 | BasedOn="{StaticResource BodyStrongTextBlockStyle}" |
| 42 | TargetType="TextBlock"> |
| 43 | <Style.Setters> |
| 44 | <Setter Property="FontSize" Value="20" /> |
| 45 | <Setter Property="FontWeight" Value="SemiBold" /> |
| 46 | <Setter Property="Margin" Value="1,28,0,4" /> |
| 47 | <Setter Property="AutomationProperties.HeadingLevel" Value="Level1" /> |
| 48 | </Style.Setters> |
| 49 | </Style> |
| 50 | |
| 51 | <Style x:Key="ButtonSettingStyle" |
| 52 | BasedOn="{StaticResource DefaultButtonStyle}" |
| 53 | TargetType="Button"> |
| 54 | <Setter Property="MinWidth" Value="{StaticResource ButtonMinWidth}" /> |
| 55 | </Style> |
| 56 | |
| 57 | <Style x:Key="TextBlockFilePathStyle" |
| 58 | TargetType="TextBlock"> |
| 59 | <Setter Property="TextWrapping" Value="Wrap" /> |
| 60 | <Setter Property="MaxWidth" Value="{StaticResource TextPathMaxWidth}" /> |
| 61 | </Style> |
| 62 | |
| 63 | <Style x:Key="TextBlockSettingStyle" |
| 64 | TargetType="TextBlock"> |
| 65 | <Setter Property="TextWrapping" Value="Wrap" /> |
| 66 | <Setter Property="MaxWidth" Value="{StaticResource TextMaxWidth}" /> |
| 67 | </Style> |
| 68 | |
| 69 | <Style x:Key="TextBoxFilePathStyle" |
| 70 | BasedOn="{StaticResource DefaultTextBoxStyle}" |
| 71 | TargetType="TextBox"> |
| 72 | <Setter Property="MinWidth" Value="{StaticResource BoxMinWidth}" /> |
| 73 | <Setter Property="MaxWidth" Value="{StaticResource BoxPathMaxWidth}" /> |
| 74 | <Setter Property="HorizontalAlignment" Value="Left" /> |
| 75 | <Setter Property="TextAlignment" Value="Left" /> |
| 76 | <Setter Property="TextWrapping" Value="Wrap" /> |
| 77 | <Setter Property="IsSpellCheckEnabled" Value="False" /> |
| 78 | </Style> |
| 79 | |
| 80 | <Style x:Key="TextBoxSettingStyle" |
| 81 | BasedOn="{StaticResource DefaultTextBoxStyle}" |
| 82 | TargetType="TextBox"> |
| 83 | <Setter Property="MinWidth" Value="{StaticResource BoxMinWidth}" /> |
| 84 | <Setter Property="MaxWidth" Value="{StaticResource BoxMaxWidth}" /> |
| 85 | <Setter Property="HorizontalAlignment" Value="Left" /> |
| 86 | <Setter Property="TextAlignment" Value="Center" /> |
| 87 | <Setter Property="TextWrapping" Value="Wrap" /> |
| 88 | <Setter Property="IsSpellCheckEnabled" Value="False" /> |
| 89 | </Style> |
| 90 | |
| 91 | <Style x:Key="ComboBoxSettingStyle" |
| 92 | BasedOn="{StaticResource DefaultComboBoxStyle}" |
| 93 | TargetType="ComboBox"> |
| 94 | <Setter Property="MinWidth" Value="{StaticResource BoxMinWidth}" /> |
| 95 | </Style> |
| 96 | |
| 97 | <Style x:Key="OobeSubtitleStyle" TargetType="TextBlock"> |
| 98 | <Setter Property="Margin" Value="0,0,0,-12" /> |
| 99 | <Setter Property="Foreground" Value="{ThemeResource DefaultTextForegroundThemeBrush}" /> |
| 100 | <Setter Property="AutomationProperties.HeadingLevel" Value="Level3" /> |
| 101 | <Setter Property="FontFamily" Value="XamlAutoFontFamily" /> |
| 102 | <Setter Property="FontSize" Value="{StaticResource BodyTextBlockFontSize}" /> |
| 103 | <Setter Property="FontWeight" Value="SemiBold" /> |
| 104 | <Setter Property="TextTrimming" Value="CharacterEllipsis" /> |
| 105 | <Setter Property="TextWrapping" Value="Wrap" /> |
| 106 | <Setter Property="LineStackingStrategy" Value="MaxHeight" /> |
| 107 | <Setter Property="TextLineBounds" Value="Full" /> |
| 108 | </Style> |
| 109 | |
| 110 | </ResourceDictionary> |