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).
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro