Skip to main content

GetDock Method

Gets the value of the Dock attached property on the specified control.

Definition​

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public static Dock GetDock(
Control control
)

Parameters​

  Control
The control.

Return Value​

Dock
The Dock attached property.

See Also​

Reference​

DockPanel Class
Avalonia.Controls Namespace