Infragistics(R) NetAdvantage(R) : WPF 2012.1
Modal and Modeless Dialog Windows
E-mail your feedback on this topic.
Shared XAML > Interactions > xamDialogWindow > Using xamDialogWindow > Modal and Modeless Dialog Windows

Glossary Item Box

The xamDialogWindow control allows you to create modal or modeless dialog windows within your application.

To set the modal type of the dialog window, you simply set the xamDialogWindow control’s IsModal property.

The following code demonstrates how to create a modal dialog window.

In XAML:

<Grid x:Name="LayoutRoot" Width="600" Height="400">
   <ig:XamDialogWindow x:Name="DialogWindow"  Width="200" Height="200" 
IsModal="True" /> </Grid>

In Visual Basic:

DialogWindow.IsModal = True

In C#:

DialogWindow.IsModal = true;

Related Topics

Custom Cursors

Customize Modal Dialog Window Background

Customize the Window Header Icon

Handle Moving Events

Handle Window State Changing Events

Keyboard Settings

Position Minimized Dialog Window

Set the Dialog Window's Height and Width When Minimized

Start Up Position of xamDialogWindow

The xamDialogWindow Control's Behavior

Window Header Controls