Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Style TargetType="local:ContentDialogBase">
- <Setter Property="Foreground" Value="{ThemeResource SystemControlPageTextBaseHighBrush}" />
- <Setter Property="Background" Value="{ThemeResource SystemControlBackgroundChromeMediumLowBrush}" />
- <Setter Property="HorizontalAlignment" Value="Center" />
- <Setter Property="VerticalAlignment" Value="Top" />
- <Setter Property="IsTabStop" Value="False" />
- <Setter Property="MaxHeight" Value="Infinity" />
- <Setter Property="MinHeight" Value="{ThemeResource ContentDialogMinHeight}" />
- <Setter Property="MaxWidth" Value="Infinity" />
- <Setter Property="MinWidth" Value="{ThemeResource ContentDialogMinWidth}" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="local:ContentDialogBase">
- <Border x:Name="Container" Background="{ThemeResource SystemControlBackgroundBaseMediumBrush}">
- <Border x:Name="BackgroundElement"
- Background="{TemplateBinding Background}"
- FlowDirection="{TemplateBinding FlowDirection}"
- BorderThickness="1,0,1,1"
- BorderBrush="{ThemeResource SystemControlForegroundAccentBrush}"
- MaxWidth="{ThemeResource ContentDialogMaxWidth}"
- MaxHeight="{ThemeResource ContentDialogMaxHeight}"
- MinWidth="{ThemeResource ContentDialogMinWidth}"
- MinHeight="{ThemeResource ContentDialogMinHeight}"
- VerticalAlignment="{TemplateBinding VerticalAlignment}"
- HorizontalAlignment="{TemplateBinding HorizontalAlignment}">
- <ContentPresenter x:Name="Content"
- ContentTemplate="{TemplateBinding ContentTemplate}"
- Content="{TemplateBinding Content}"
- FontSize="{ThemeResource ControlContentThemeFontSize}"
- FontFamily="{ThemeResource ContentControlThemeFontFamily}"
- Margin="0"
- Foreground="{TemplateBinding Foreground}"
- TextWrapping="Wrap" />
- </Border>
- </Border>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement