TextBlock.SelectionEnd Propiedad

Definición

Obtiene la posición final del texto seleccionado en textBlock.

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

Valor de propiedad

Objeto que representa el final 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 primero debe activar Exploración de símbolos de intercalación (con la aplicación en primer plano, presione F7).

Se aplica a