fix: error of CornerRadius setter.
This commit is contained in:
1 parent
e888897bf4
commit
d4406c2888
12 files changed
+45
-22
No files matched your search
@@ -5,6 +5,8 @@
|
||||
TargetType="ProgressBar">
|
||||
<Setter Property="hc:BorderElement.CornerRadius"
|
||||
Value="{StaticResource DefaultCornerRadius}" />
|
||||
<Setter Property="CornerRadius"
|
||||
Value="{Binding $self.(hc:BorderElement.CornerRadius)}" />
|
||||
<Setter Property="Background"
|
||||
Value="{DynamicResource SecondaryRegionBrush}" />
|
||||
<Setter Property="BorderBrush"
|
||||
@@ -14,7 +16,7 @@
|
||||
<Setter Property="Template">
|
||||
<ControlTemplate>
|
||||
<Border Theme="{StaticResource BorderClip}"
|
||||
CornerRadius="{Binding Path=(hc:BorderElement.CornerRadius),RelativeSource={RelativeSource TemplatedParent}}"
|
||||
CornerRadius="{TemplateBinding CornerRadius}"
|
||||
BorderBrush="{TemplateBinding BorderBrush}"
|
||||
BorderThickness="{TemplateBinding BorderThickness}"
|
||||
Background="{TemplateBinding Background}">
|
||||
|
||||
Reference in new issue
Block a user