<Grid x:Name="LayoutRoot" Background="White"> <ig:XamDialogWindow Content="Dialog Window" x:Name="DialogWindow" Width="200" Height="200" MinimizedHeight="30" MinimizedWidth="30"/> </Grid>
When your end users minimize the dialog window the following happens:
the header’s width decreases
the content pane disappears
However, you can customize this by setting the xamDialogWindow control’s MinimizedWidth and MinimizedHeight properties.
The following code demonstrates how to set the minimized dialog window’s height and width.
In XAML:
<Grid x:Name="LayoutRoot" Background="White"> <ig:XamDialogWindow Content="Dialog Window" x:Name="DialogWindow" Width="200" Height="200" MinimizedHeight="30" MinimizedWidth="30"/> </Grid>
In Visual Basic:
DialogWindow.MinimizedHeight = 30 DialogWindow.MinimizedWidth = 30
In C#:
DialogWindow.MinimizedHeight = 30; DialogWindow.MinimizedWidth = 30;