Tapped event of RichTextblock

168 Views Asked by At

Why we can not handle the tapped event of richtextblock, I want to get the tapped point of the richtextblock or richtextblockoverflow, how to workaround?

1

There are 1 best solutions below

1
On

if you set IsTextSelectionEnabled to false its work but you cant use ScrollViewer to scroll i solved this with this issue

this.RichTextBlock.AddHandler(TappedEvent, new TappedEventHandler(RichTextBlock_Tapped), true);

private void medical_history_Tapped(object sender, TappedRoutedEventArgs e)
{
}

hope this helped you!