TextBlock.IsTextSelectionEnabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
property bool IsTextSelectionEnabled { bool get(); void set(bool value); };
bool IsTextSelectionEnabled();
void IsTextSelectionEnabled(bool value);
public bool IsTextSelectionEnabled { get; set; }
var boolean = textBlock.isTextSelectionEnabled;
textBlock.isTextSelectionEnabled = boolean;
Public Property IsTextSelectionEnabled As Boolean
<TextBlock IsTextSelectionEnabled="bool" />
Property Value
Boolean
bool
true if text selection is enabled; otherwise, false.
Remarks
Important
If using a keyboard for text selection within a TextBlock, the user must first activate Caret Browsing (with the app in the foreground, press F7).