Grid.BackgroundSizing Property

Definition

Gets or sets a value that indicates how far the background extends in relation to this element's border.

C#
public BackgroundSizing BackgroundSizing { get; set; }

Property Value

A value of the enumeration that indicates how far the background extends. The default is InnerBorderEdge.

Remarks

You can set this property to OuterBorderEdge to make the element's background extend under the border. If the border is transparent, the background will show through it.

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