Border.BackgroundSizing Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates how far the background extends in relation to this element's border.
public:
property BackgroundSizing BackgroundSizing { BackgroundSizing get(); void set(BackgroundSizing value); };
BackgroundSizing BackgroundSizing();
void BackgroundSizing(BackgroundSizing value);
public BackgroundSizing BackgroundSizing { get; set; }
var backgroundSizing = border.backgroundSizing;
border.backgroundSizing = backgroundSizing;
Public Property BackgroundSizing As BackgroundSizing
Property Value
A value of the enumeration that indicates how far the background extends. The default is InnerBorderEdge.
Windows requirements
Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v7.0)
|
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.