DockPanel.GetDock(UIElement) Método

Definición

Obtiene el valor de la Dock propiedad adjunta para un objeto especificado 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

Parámetros

element
UIElement

Elemento desde el que se lee el valor de la propiedad.

Devoluciones

Valor Dock de propiedad del elemento.

Atributos

Se aplica a

Consulte también