Intersoft ClientUI Documentation
SetDock Method
See Also  Send Feedback
Intersoft.Client.UI.Controls Namespace > DockPanel Class : SetDock Method






element
The element to which the attached property is assigned.
dock
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

Visual Basic (Declaration) 
Public Shared Sub SetDock( _
   ByVal element As UIElement, _
   ByVal dock As Dock _
) 
Visual Basic (Usage)Copy Code
Dim element As UIElement
Dim dock As Dock
 
DockPanel.SetDock(element, dock)
C# 
public static void SetDock( 
   UIElement element,
   Dock dock
)
Delphi 
public procedure SetDock( 
    element: UIElement;
    dock: Dock
); static; 
JScript 
public static function SetDock( 
   element : UIElement,
   dock : Dock
);
Managed Extensions for C++ 
public: static void SetDock( 
   UIElement* element,
   Dock dock
) 
C++/CLI 
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.