RichTextBlock selection text disappears


  • 1.I have two RichTextBlock controls placed in windows store application page. I use first to display text and selection of specific block and second to simulate dragging of text run. When I start manipulation of second one I return focus to the first control in order to display the selection. In this case I can see the selection but text becomes black and it disappears.
    2.Expected result is text in selection to have inverted foreground color.
    3.Actual result is that text foreground color is not inverted as for selection and visually disappears.
    Monday, January 12, 2015 1:39 PM

All replies

  • Got code?

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Monday, January 12, 2015 7:17 PM
  • Hi.

    Thank you for your response. I will try to extract some minimal code sample.

    Wednesday, January 28, 2015 8:17 AM