DockPanel.GetDock(UIElement) Metodo

Definizione

Ottiene il valore della Dock proprietà associata per un oggetto specificato 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

Parametri

element
UIElement

Elemento da cui viene letto il valore della proprietà.

Valori restituiti

Valore Dock della proprietà per l'elemento.

Attributi

Si applica a

Vedi anche