Partager via


ElementHost.BackColorTransparent Propriété

Définition

Obtient ou définit une valeur indiquant si l’élément hébergé a un arrière-plan transparent.

public:
 property bool BackColorTransparent { bool get(); void set(bool value); };
public bool BackColorTransparent { get; set; }
member this.BackColorTransparent : bool with get, set
Public Property BackColorTransparent As Boolean

Valeur de propriété

true si l’élément hébergé a un arrière-plan transparent ; sinon, false. La valeur par défaut est false.

Remarques

La BackColorTransparent propriété active la copie bitmap, qui permet aux éléments hébergés d’utiliser la transparence sur le conteneur hôte. Cela est utile lorsque l’élément se trouve sur une image ou un arrière-plan dégradé.

Pour des raisons de performances, la BackColorTransparent propriété est désactivée par défaut.

S’applique à

Voir aussi