TextBlock.SelectionStart Propiedad

Definición

Obtiene la posición inicial del texto seleccionado en TextBlock.

public:
 property TextPointer ^ SelectionStart { TextPointer ^ get(); };
TextPointer SelectionStart();
public TextPointer SelectionStart { get; }
var textPointer = textBlock.selectionStart;
Public ReadOnly Property SelectionStart As TextPointer

Valor de propiedad

Objeto que representa el inicio de la selección o null si no existe ninguna selección.

Comentarios

Use Seleccionar para establecer el inicio y el final de la selección.

Importante

Si usa un teclado para la selección de texto dentro de un TextBlock, el usuario debe activar primero la exploración de intercalación (con la aplicación en primer plano, presione F7).

Se aplica a