Skip to main content

SetDock Method

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

Definition

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

public static void SetDock(
Control control,
Dock value
)

Parameters

  Control
The control.
  Dock
The value of the Dock property.

See Also

Reference

DockPanel Class
Avalonia.Controls Namespace