This project has moved and is read-only. For the latest updates, please go here.

Click on NumericUpDown does not select a row in Datagrid

Aug 9, 2016 at 11:00 AM

I'm using a NumericUpDown in a column of System.Windows.Comtrols.Datagrid.
Click on the control allows to edit the number in it but the DataGrid row is not highlighted.

On the image above the row 2 was selected previously. After the Click on the control in the row 3 the selection is not changed, and the number can be edited.

If this behavior can be changed as for the standard controls, for ex. click on TextBox selects the row

Thanks in advance and best regards,
Aug 9, 2016 at 4:36 PM

Try with AutoSelectBehavior=Never and SelectAllOnGotFocus = False :
 <xctk:DoubleUpDown Value="{Binding Value}"
In v3.2, the property SelectAllOnGotFocus will be removed.
Aug 10, 2016 at 8:42 AM
Thanks you!

SelectAllOnGotFocus="False" in Toolkit version 2.0 works for me.