I want content dialog without buttons / margins.
I used next code inside resource dictionary (note all the 0's):
<x:Double x:Key="ContentDialogButtonHeight">0</x:Double>
<Thickness x:Key="ContentDialogButton1HostMargin">0,0,0,0</Thickness>
<Thickness x:Key="ContentDialogButton2HostMargin">0,0,0,0</Thickness>
<Thickness x:Key="ContentDialogContentMargin">0,0,0,0</Thickness>
<Thickness x:Key="ContentDialogContentScrollViewerMargin">0,0,0,0</Thickness>
If I set content dialog width / height inside XAML, the bottom is cut off (if not, it will occupy entire screen height), how to fix it:
Note that blue margin (the dialog's backround is blue), how to remove it?
Also, the dialog is shown on top instead of being in center.
Content is a Grid with 0 padding/margin.