feat: specify CornerRadius.
This commit is contained in:
parent
cefa6bb4df
commit
f29e60712b
@ -6,7 +6,7 @@
|
||||
<Setter Property="Background" Value="{DynamicResource HeaderedContentControlDefaultBackground}" />
|
||||
<Setter Property="BorderThickness" Value="1" />
|
||||
<Setter Property="BorderBrush" Value="{DynamicResource HeaderedContentControlDefaultBorderBrush}" />
|
||||
<Setter Property="CornerRadius" Value="{DynamicResource ControlCornerRadius}" />
|
||||
<Setter Property="CornerRadius" Value="{DynamicResource HeaderedContentControlCornerRadius}" />
|
||||
<Setter Property="Width" Value="400" />
|
||||
<Setter Property="Height" Value="200" />
|
||||
<Setter Property="HorizontalAlignment" Value="Stretch" />
|
||||
@ -21,6 +21,7 @@
|
||||
Height="{TemplateBinding Height}"
|
||||
Background="{TemplateBinding Background}"
|
||||
BorderBrush="{TemplateBinding BorderBrush}"
|
||||
CornerRadius="{TemplateBinding CornerRadius}"
|
||||
BorderThickness="{TemplateBinding BorderThickness}">
|
||||
<Grid RowDefinitions="Auto,Auto,*">
|
||||
<ContentPresenter
|
||||
|
@ -2,4 +2,5 @@
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<SolidColorBrush x:Key="HeaderedContentControlDefaultBackground" Color="Transparent" />
|
||||
<SolidColorBrush x:Key="HeaderedContentControlDefaultBorderBrush" Opacity="0.08" Color="#F9F9F9" />
|
||||
<CornerRadius x:Key="HeaderedContentControlCornerRadius">4</CornerRadius>
|
||||
</ResourceDictionary>
|
@ -2,4 +2,5 @@
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<SolidColorBrush x:Key="HeaderedContentControlDefaultBackground" Color="Transparent" />
|
||||
<SolidColorBrush x:Key="HeaderedContentControlDefaultBorderBrush" Opacity="0.08" Color="#1C1F23" />
|
||||
<CornerRadius x:Key="HeaderedContentControlCornerRadius">4</CornerRadius>
|
||||
</ResourceDictionary>
|
Loading…
x
Reference in New Issue
Block a user