-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NumericUpDown SelectAllOnFocus doesn't work #2542
Comments
@punker76 I saw that you introduced the |
@xxMUROxx I'll look on this |
Hi, |
@collegedude You need only <Controls:NumericUpDown Controls:TextBoxHelper.SelectAllOnFocus="True"
ButtonsAlignment="Left"
Interval="5"
Value="500" /> |
Hi again, |
Hello everyone, i want to say thanks for your effort for this amazing work. Also, the control won't take focus even if i simply click on it, but just when you click the contained value. |
Hello @Cicciomnz,
In my case it was not enough to have this line in App.xaml or MainWindow.xaml |
It works! Thanks a lot @collegedude |
@Cicciomnz @collegedude It should also work if this resource is added in App.xaml |
That's the behavior of all TextBoxHelper stuff like clear button or search button on TextBoxes. |
What steps will reproduce this issue?
Setting the SelectAllOnFocus="True" property on a NumericUpDown control has no efect, on other and using the Controls:TextBoxHelper.SelectAllOnFocus="True" work as expected, selecting all text.
Expected outcome
Setting the SelectAllOnFocus="True" on a NumericUpDown control should have the same behavior like the Controls:TextBoxHelper.SelectAllOnFocus="True"
Environment
The text was updated successfully, but these errors were encountered: