Share via


RichTextBlock.IsTextSelectionEnabled Propiedad

Definición

Obtiene o establece un valor que determina si el contenido de texto del RichTextBlock se puede seleccionar para fines de portapapeles o arrastrar, o para cambios de estilo de la interfaz de usuario que indican el texto seleccionado.

public:
 property bool IsTextSelectionEnabled { bool get(); void set(bool value); };
bool IsTextSelectionEnabled();

void IsTextSelectionEnabled(bool value);
public bool IsTextSelectionEnabled { get; set; }
var boolean = richTextBlock.isTextSelectionEnabled;
richTextBlock.isTextSelectionEnabled = boolean;
Public Property IsTextSelectionEnabled As Boolean
<RichTextBlock IsTextSelectionEnabled="bool" />

Valor de propiedad

Boolean

bool

true si el contenido de texto de RichTextBlock se puede seleccionar para el Portapapeles o para arrastrar. false si no se puede seleccionar texto. El valor predeterminado es true.

Se aplica a