GetDock Method

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 Shared Function GetDock (
	element As UIElement
) As Dock

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:
© 2016 Microsoft