RelativePanel.BackgroundSizing Property

Definition

Overloads

BackgroundSizing

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

BackgroundSizing

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 = relativePanel.backgroundSizing;
relativePanel.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.

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.

See also

Applies to