Skip to main content

ArrangeCore Method

Overrides the core arrange logic for windows.

Definition​

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

protected override void ArrangeCore(
Rect finalRect
)

Parameters​

  Rect
The final arrange rect.

Remarks​

The layout logic for top-level windows is different than for other controls because they don't have a parent, meaning that many layout properties handled by the default ArrangeCore (such as margins and alignment) make no sense.

See Also​

Reference​

WindowBase Class
Avalonia.Controls Namespace