TextBox.SelectionLength Propiedad

Definición

Obtiene o establece el número de caracteres de la selección actual en el cuadro de texto.

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"/>

Valor de propiedad

Int32

int

Número de caracteres de la selección actual en el cuadro de texto o 0 si no hay ninguna selección.

Se aplica a