Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows desktop devices.
2,819 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I want put a border in ContentDialog, but is Incorrect.
I'd like as the CornerRadius.
You can derive a control from ContentDialog and copy the default style (in <ContentDialog.Resources>) from generic.xaml (inside <Style TargetType="ContentDialog">)
Then you can change <Border x:Name="BackgrounElement" (Background, bug in this editor...)
for example with :
BorderThickness="5"
BorderBrush="Red"
CornerRadius="15"
I get :