Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DockPanel.GetDock(UIElement) Method

Definition

Namespace:
System.Windows.Controls
Assembly:
PresentationFramework.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

public:
 static System::Windows::Controls::Dock GetDock(System::Windows::UIElement ^ element);
[System.Windows.AttachedPropertyBrowsableForChildren]
public static System.Windows.Controls.Dock GetDock(System.Windows.UIElement element);
[<System.Windows.AttachedPropertyBrowsableForChildren>]
static member GetDock : System.Windows.UIElement -> System.Windows.Controls.Dock
Public Shared Function GetDock (element As UIElement) As Dock

Parameters

element
UIElement

The element from which the property value is read.

Returns

The Dock property value for the element.

Attributes

Applies to

See also


Feedback

Was this page helpful?