Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为什么我们无法处理richtextblock的点击事件,我想获取richtextblock或richtextblockoverflow的点击点,如何解决?
如果您将 IsTextSelectionEnabled 设置为 false 它的工作,但您不能使用 ScrollViewer 滚动我解决了这个问题
this.RichTextBlock.AddHandler(TappedEvent, new TappedEventHandler(RichTextBlock_Tapped), true); private void medical_history_Tapped(object sender, TappedRoutedEventArgs e) { }
希望这对你有帮助!