Infragistics(R) NetAdvantage(R) : WPF 2012.1
Start Up Position of xamDialogWindow
E-mail your feedback on this topic.
Shared XAML > Interactions > xamDialogWindow > Using xamDialogWindow > Start Up Position of xamDialogWindow

Glossary Item Box

You can set the initial position of the xamDialogWindow control by setting the StartupPosition property to one of the following StartupPosition enumeration values:

When the dialog window is restored to normal state, it will be restored to the last position it was at.

The following code demonstrates up to specify a start up position for the dialog window by setting the Top and Left properties.


<Grid x:Name="LayoutRoot" Width="600" Height="400">
   <ig:XamDialogWindow x:Name="DialogWindow" Width="200" 
       Height="200" IsModal="True" 
       StartupPosition="Manual" Top="250" Left="350">

In Visual Basic:

Imports Infragistics.Controls.Interactions
DialogWindow.StartupPosition = StartupPosition.Manual
DialogWindow.Top = 250
DialogWindow.Left = 350

In C#:

using Infragistics.Controls.Interactions;
DialogWindow.StartupPosition = StartupPosition.Manual;
DialogWindow.Top = 250;
DialogWindow.Left = 350;

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

Set the Dialog Window's Height and Width When Minimized

The xamDialogWindow Control's Behavior

Window Header Controls