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
990
Unselecting text in a grid
posted

The default behaviour is that all text in a xamtexteditor is selected when moving into a cell, how can I turn that off?

I tried hooking an event on XamTextEditor.GotFocus, but in the event handler nothing is selected (SelectedText == "")

Help!

Parents
  • 9694
    posted

    Hi John,

    I don't see a way to do this. I've asked engineering for some insights into this one.

    I wonder if you made the efforts to implement using regular TextBoxes rather than the default XamTextEditor if that would work. WPF TextBoxes do not automatically select all text content when they receive keyboard focus.

Reply Children
No Data