Skip to main content

BackgroundSizing Enumeration

Defines how a background is drawn relative to its border.

Definition​

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public enum BackgroundSizing
View Source

Members​

InnerBorderEdge0The background is drawn up to the inside edge of the border.
OuterBorderEdge1The background is drawn completely to the outside edge of the border.
CenterBorder2The background is drawn to the midpoint (center) of the border.

See Also​

Reference​

Avalonia.Media Namespace