BackgroundSizing BackgroundSizing BackgroundSizing 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
enum class winrt::Windows::UI::Xaml::Controls::BackgroundSizing : int32_t
public enum BackgroundSizing
Public Enum BackgroundSizing
Attributes

Windows 10 requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v7)

Fields

InnerBorderEdge InnerBorderEdge InnerBorderEdge InnerBorderEdge 0

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

OuterBorderEdge OuterBorderEdge OuterBorderEdge 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.

See also