Closed unofficialdev closed 2 years ago
You can customize DialogContentTemplate by yourself, here's default template:
<Style Selector="dialogHost|DialogHost">
<Setter Property="PopupTemplate">
<ControlTemplate>
<VisualLayerManager IsPopup="True" Name="PART_DialogPopupRoot">
<Border Name="PART_ContentBackground" CornerRadius="2">
<ContentPresenter Name="PART_ContentPresenter"
Background="{TemplateBinding Background}"
ContentTemplate="{TemplateBinding ContentTemplate}"
Content="{TemplateBinding Content}"
Padding="{TemplateBinding Padding}" />
</Border>
</VisualLayerManager>
</ControlTemplate>
</Setter>
</Style>
Hello, @unofficialdev I implemented it in new 0.3.0 version:
consider add shadow effect and custom corner radius. The shadow effect makes the dialog appear taller than the owner content.