Редагувати

Поділитися через


DockPanel.GetDock(UIElement) Method

Definition

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