Intersoft ClientUI Documentation
SetDock Method



The element to which the attached property is assigned.
The dock value to assign to the specified element.
Sets the value of the Dock attached property for the specified element to the specified dock value.
Syntax
Public Shared Sub SetDock( _
   ByVal element As UIElement, _
   ByVal dock As Dock _
) 
Dim element As UIElement
Dim dock As Dock
 
DockPanel.SetDock(element, dock)
public static void SetDock( 
   UIElement element,
   Dock dock
)
public:
static void SetDock( 
   UIElement^ element,
   Dock dock
) 

Parameters

element
The element to which the attached property is assigned.
dock
The dock value to assign to the specified element.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DockPanel Class
DockPanel Members

Send Feedback