Sets which side of a DockPanel the element should be positioned against.

Namespace: Mindscape.SilverlightElements
Assembly: Mindscape.SilverlightElements (in Mindscape.SilverlightElements.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public static void SetDock(
	DependencyObject obj,
	Dock dock
)
Visual Basic
Public Shared Sub SetDock ( _
	obj As DependencyObject, _
	dock As Dock _
)
Visual C++
public:
static void SetDock(
	DependencyObject^ obj, 
	Dock dock
)

Parameters

obj
Type: System.Windows..::..DependencyObject
The element on which the property value is set.
dock
Type: Mindscape.SilverlightElements..::..Dock
Specifies which side of a DockPanel the element will be positioned against.

See Also