BackgroundSizing Enumeration

Defines how a background is drawn relative to its border.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public enum BackgroundSizing

Members

InnerBorderEdge0 The background is drawn up to the inside edge of the border.
OuterBorderEdge1 The background is drawn completely to the outside edge of the border.
CenterBorder2 The background is drawn to the midpoint (center) of the border.

See Also