locked
triple click on RichTextBlock for selecting whole paragraph

    Question

  • In IE and most Windows apps, double-click will select a word and triple-click will select a paragraph. And I also have seen the app News windows 8 ,it can use triple click  select whole paragraph,
    how to implement triple click on RichTextBlock for selecting whole paragraph in windows 8.1?

    Thursday, April 17, 2014 3:22 AM

Answers

  • It's not built-in behavior. You'll need to implement it yourself by tracking the PointerPressed events, keeping a count, and setting the selection as you'd like.

    --Rob

    Thursday, April 17, 2014 5:49 AM
    Owner