BackgroundSizing Enum

Definition

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

public enum class BackgroundSizing
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
enum class BackgroundSizing
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
public enum BackgroundSizing
Public Enum BackgroundSizing
Inheritance
BackgroundSizing
Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

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

See also