Sets the value of the Dock 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 SetDock(
	UIElement obj,
	ApplicationBarDock value
)
Visual Basic
Public Shared Sub SetDock ( 
	obj As UIElement,
	value As ApplicationBarDock
)

Parameters

obj
Type: System.Windows..::..UIElement
The control, for which the value of the property is being set.
value
Type: Elysium.Controls..::..ApplicationBarDock
A docking algorithm.

Exceptions

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

Contracts

See Also