DockPanel.GetDock(UIElement) Metodo

Definizione

Ottiene il valore della proprietà associata Dock per l'oggetto UIElementspecificato.

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à.

Restituisce

Valore della proprietà Dock dell'elemento.

Attributi

Si applica a

Vedi anche