Share via


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(Microsoft.UI.Xaml.WinUIContract, 65536)]
enum class BackgroundSizing
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum BackgroundSizing
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

See also