RichTextBlock.IsTextSelectionEnabled Property

Definition

Gets or sets a value that determines whether text content of the RichTextBlock can be selected for clipboard or drag purposes, or for UI styling changes that indicate selected text.

C#
public bool IsTextSelectionEnabled { get; set; }
XAML
<RichTextBlock IsTextSelectionEnabled="bool" />

Property Value

Boolean

true if text content of the RichTextBlock can be selected for clipboard or drag purposes. false if text cannot be selected. The default is true.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6