Infragistics(R) NetAdvantage(R) : WPF 2012.1
Set the Dialog Window's Height and Width When Minimized
E-mail your feedback on this topic.
Shared XAML > Interactions > xamDialogWindow > Using xamDialogWindow > Set the Dialog Window's Height and Width When Minimized

Glossary Item Box

When your end users minimize the dialog window the following happens:

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;


Related Topics

Custom Cursors

Customize Modal Dialog Window Background

Customize the Window Header Icon

Handle Moving Events

Handle Window State Changing Events

Keyboard Settings

Modal and Modeless Dialog Windows

Position Minimized Dialog Window

Start Up Position of xamDialogWindow

The xamDialogWindow Control's Behavior

Window Header Controls