DockPanel.GetDock Method (UIElement)

 

Gets the value of the Dock attached property for a specified UIElement.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

[AttachedPropertyBrowsableForChildrenAttribute]
public static Dock GetDock(
	UIElement element
)

Parameters

element
Type: System.Windows.UIElement

The element from which the property value is read.

Return Value

Type: System.Windows.Controls.Dock

The Dock property value for the element.

.NET Framework
Available since 3.0
Return to top
Show: