BackgroundSizing Enum

Definition

Defines constants that specify how far an element's background extends in relation to the element's border.

C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum BackgroundSizing
Inheritance
BackgroundSizing
Attributes

Fields

Name Value Description
InnerBorderEdge 0

The element's background extends to the inner edge of the border, but does not extend under the border.

OuterBorderEdge 1

The element's background extends under the border to its outer edge, and is visible if the border is transparent.

Remarks

This enumeration is used by elements that have a BackgroundSizing property.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also