Microsoft-ui-xaml: Proposal: (Rich)TextBlock should support triple-click to select complete text/paragraph

Created on 18 Mar 2020  路  3Comments  路  Source: microsoft/microsoft-ui-xaml

Proposal: (Rich)TextBlock should support triple-click to select complete text/paragraph

Summary

(Rich)TextBlocks with text selection enabled (via IsTextSelectionEnabled) should have support for the user to triple-click to select the complete text/paragraph. Currently, only single words can be selected with clicks, no matter how many clicks are "chained" by the user.

Sample app demonstrating current behavior included below.

Rationale

The (Rich)TextBlock control should provide a text selection experience matching that found on the web and in the UWP TextBox control (for example) and thus expected by users.

Scope

| Capability | Priority |
| :---------- | :------- |
| (Rich)TextBlock has triple-click support to select the complete text/paragraph. | Must |

Attached Files

TextBlockSelection.zip

area-TextBlocks area-TextBox needs-winui-3 team-Framework

Most helpful comment

@MarcAnt01 Already in the process of editing it, will let you know once finished editing. (Also, you pinged the wrong person 馃榿)

All 3 comments

@chrisglein can you modify the issue also to include RichTextBlock, please?

@MarcAnt01 Already in the process of editing it, will let you know once finished editing. (Also, you pinged the wrong person 馃榿)

Yeah, I meant to mention Chris (but looks like he isn't the only Chris here) since he was the one who closed my issue, anyway thank you for doing it

Was this page helpful?
0 / 5 - 0 ratings