RichTextBox.SelectionBackColor Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient ou définit la couleur du texte lorsque le texte est sélectionné dans un RichTextBox contrôle.
public:
property System::Drawing::Color SelectionBackColor { System::Drawing::Color get(); void set(System::Drawing::Color value); };
[System.ComponentModel.Browsable(false)]
public System.Drawing.Color SelectionBackColor { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.SelectionBackColor : System.Drawing.Color with get, set
Public Property SelectionBackColor As Color
Valeur de propriété
Qui Color représente la couleur du texte lorsque le texte est sélectionné. La valeur par défaut est la valeur de la DefaultBackColor propriété.
- Attributs
Remarques
Permet SelectionBackColor d’obtenir ou de définir la couleur du texte sélectionné dans le RichTextBox. Si aucun texte n’est actuellement sélectionné, la SelectionBackColor propriété s’applique à la position actuelle du point d’insertion. Les caractères entrés à partir de cette position ont la valeur spécifiée SelectionBackColor.