Skip to main content

SnapPointsAlignment Enum

Definition​

Assembly:Avalonia.Controls
Package:Avalonia

Specify options for snap point alignment relative to an edge. Which edge depends on the orientation of the object where the alignment is applied

public enum SnapPointsAlignment

Inheritance: Enum -> SnapPointsAlignment

Fields​

NameDescription
CenterUse snap points that are centered in the orientation.
FarUse snap points grouped farther from the orientation edge.
NearUse snap points grouped closer to the orientation edge.

Center Field​

Use snap points that are centered in the orientation.

public Avalonia.Controls.Primitives.SnapPointsAlignment Center

Far Field​

Use snap points grouped farther from the orientation edge.

public Avalonia.Controls.Primitives.SnapPointsAlignment Far

Near Field​

Use snap points grouped closer to the orientation edge.

public Avalonia.Controls.Primitives.SnapPointsAlignment Near