Returns the value of the IsMainWindow dependency property for the specified control.

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

Syntax

C#
public static bool GetIsMainWindow(
	Window obj
)
Visual Basic
Public Shared Function GetIsMainWindow ( 
	obj As Window
) As Boolean

Parameters

obj
Type: System.Windows..::..Window
The control, for which the value of the property is being got.

Return Value

Type: Boolean
A value, which corresponds to whether the specified window is main.

Exceptions

ExceptionCondition
System..::..ArgumentNullException The parameter obj has a value null.

Contracts

See Also