DockPanel.GetDock(UIElement) Metod

Definition

Hämtar värdet för den Dock anslutna egenskapen för en angiven 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

Parametrar

element
UIElement

Elementet som egenskapsvärdet läse från.

Returer

Egenskapsvärdet Dock för elementet.

Attribut

Gäller för

Se även