Control.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 = control.backgroundSizing;
control.backgroundSizing = backgroundSizing;
Public Property BackgroundSizing As BackgroundSizing

Valore della proprietà

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

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