Sets 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 void SetIsMainWindow(
	Window obj,
	bool value
)
Visual Basic
Public Shared Sub SetIsMainWindow ( 
	obj As Window,
	value As Boolean
)

Parameters

obj
Type: System.Windows..::..Window
The control, for which the value of the property is being set.
value
Type: System..::..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