RelativePanel.BackgroundSizing Proprietà

Definizione

Ottiene o imposta un valore che indica l'estensione dello sfondo rispetto al bordo dell'elemento.

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

Valore della proprietà

Valore dell'enumerazione che indica l'estensione dello sfondo. Il valore predefinito è InnerBorderEdge.

Requisiti Windows

Famiglia di dispositivi
Windows 10, version 1809 (è stato introdotto in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v7.0)

Commenti

È possibile impostare questa proprietà su OuterBorderEdge per rendere lo sfondo dell'elemento esteso sotto il bordo. Se il bordo è trasparente, lo sfondo verrà visualizzato attraverso di esso.

Si applica a

Vedi anche