Gets or sets the value, which corresponds to whether specified window is main. Application can have only one main window.

Namespace: Elysium.Controls
Assembly: Elysium (in Elysium.dll) Version: 2.0.976.4 (2.0.976.4)

Syntax

C#
See GetIsMainWindow, SetIsMainWindow
Visual Basic
See GetIsMainWindow, SetIsMainWindow

Property Value

Type: Boolean
True, if the window is main, False otherwise.

Remarks

Identifier fieldIsMainWindowProperty
MetadataNone
This property can be applied to any class-successor of System.Windows.Window.

Examples

C# Copy imageCopy
1var control = new Window();
2var currentValue = Window.GetIsMainWindow(control);
3Window.SetIsMainWindow(control, false);
XAML Copy imageCopy
1<Window metro:Window.IsMainWindow="False"/>

See Also