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

Glossary Item Box

By default, the dialog window does not change position when it is minimized. The width and the height of the dialog window changes, but the position does not change. However, you can override this default setting and change the position of the minimized dialog window.

For example, if you have many dialog windows on your application, it could be easier for your end user to see them all minimized in a uniformed manner in a certain location of the application.

To achieve this, you set the xamDialogWindow™ control’s MinimizedPanel property. This specifies a panel that the dialog window should be minimized to.

In XAML:

<StackPanel Grid.Column="0" Grid.Row="0" Background="Black" Orientation="Horizontal" x:Name="MinPanel"></StackPanel>
        
<ig:XamDialogWindow Content="Dialog Window" 
                x:Name="DialogWindow" Width="200" Height="200" 
                MinimizedPanel="{Binding ElementName=MinPanel}"/>


In Visual Basic:

DialogWindow.MinimizedPanel = Me.MinPanel


In C#:

DialogWindow.MinimizedPanel = this.MinPanel;


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

Set the Dialog Window's Height and Width When Minimized

Start Up Position of xamDialogWindow

The xamDialogWindow Control's Behavior

Window Header Controls