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
1585
Tab into editor
posted

When I Tab through my form and hit a XamNumericEditor or XamComboEdtior I would like it to highlight the entire text. Is that possible?

Parents
No Data
Reply
  • 1585
    Verified Answer
    posted

    I figured it out...

    on GotFocus()

    I use SelectAll();

     

    For the ComboEditor, I use the VisualTreeHelper and recursively look for the TextBox control named "TextBoxPresenter" and then apply the GotFocus() event and calling SelectAll();

    Fixed.

     

Children
No Data