File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
MaterialDesignThemes.Wpf/Themes Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 754
754
<Setter Property =" Template" >
755
755
<Setter .Value>
756
756
<ControlTemplate TargetType =" {x:Type local:PackIcon}" >
757
- <Viewbox >
758
- <Canvas Width =" 24" Height =" 24" >
759
- <Path Data =" {Binding Data, RelativeSource={RelativeSource TemplatedParent}}"
760
- Fill =" {TemplateBinding Foreground}" />
761
- </Canvas >
762
- </Viewbox >
757
+ <Border Background =" {TemplateBinding Background}"
758
+ BorderBrush =" {TemplateBinding BorderBrush}"
759
+ BorderThickness =" {TemplateBinding BorderThickness}" >
760
+ <Viewbox >
761
+ <Canvas Width =" 24" Height =" 24" >
762
+ <Path Data =" {Binding Data, RelativeSource={RelativeSource TemplatedParent}}"
763
+ Fill =" {TemplateBinding Foreground}" />
764
+ </Canvas >
765
+ </Viewbox >
766
+ </Border >
763
767
</ControlTemplate >
764
768
</Setter .Value>
765
769
</Setter >
You can’t perform that action at this time.
0 commit comments