TextBox.SelectionLength Propriété

Définition

Obtient ou définit le nombre de caractères dans la sélection actuelle dans la zone de texte.

public:
 property int SelectionLength { int get(); void set(int value); };
int SelectionLength();

void SelectionLength(int value);
public int SelectionLength { get; set; }
var int32 = textBox.selectionLength;
textBox.selectionLength = int32;
Public Property SelectionLength As Integer
<TextBox SelectionLength="int"/>

Valeur de propriété

Int32

int

Nombre de caractères dans la sélection actuelle dans la zone de texte, ou 0 s’il n’y a pas de sélection.

S’applique à