fix<Window>: fix AdornerDecorator missing

This commit is contained in:
leo 2022-10-19 11:38:28 +08:00
parent e31a304cac
commit b1102ac035

View file

@ -24,6 +24,7 @@
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type Window}">
<AdornerDecorator>
<Border
Padding="{TemplateBinding Padding}"
Background="{TemplateBinding Background}"
@ -31,6 +32,7 @@
BorderBrush="{TemplateBinding BorderBrush}">
<ContentPresenter/>
</Border>
</AdornerDecorator>
</ControlTemplate>
</Setter.Value>
</Setter>