Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
150
XamTextEditor dropping _ from display text when IsReadOnly = true
posted

Not sure if this is intented or not but I've got a XamTextEditor with text "Name1_1" when IsReadOnly = false (default) it displays that string.

However if I set IsReadOnly = true it displays "Name11", if I get the Text and print it out within the code it displays the original text so it appears the character is only dropped when displayed.


Is there some setting that can be used to prevent this character from being dropped?  Or a style?

Parents
No Data
Reply
  • 54937
    Offline posted

    The only time I've seen that type of behavior is when a ContentPresenter is used and its RecognizesAccessKey is set to true (or if you use an AccessText element directly). Our templates for the xamTextEditor don't use a ContentPresenter or an AccessText element so I don't know why you would see that behavior. Do you have an example that demonstrates that issue?

Children