You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Triple click in TextBox does not select all text #1162
I do not think it a good feature that it change the behavior. Because I use Triple clicking in a TextBox does not select all text in the TextBox. feature to write my bussiness code. o(╥﹏╥)o
If your code be merged, I should change my exist code...
Sooner or later WPF needs to add new input gestures and there is always the risk that some application already was using a previously unused input gesture for its own purpose. I think its a good start to think about how to deal with that here, while triple click is not a standard Windows gesture "select all text" is a common enough interpretation of that gesture to support it by default. Maybe it can be implemented by default and disabled by a switch if someone was already using this gesture for his own purpose. Or if you think that too risky, disable it by default and let people opt in to triple clicks.
Triple clicking is the expected behaviour in Windows 10, as used by UWP XAML.
Win32's Edit control only has single click to focus, and double click to select the word the cursor is over.
Activity
lindexi commentedon Jul 5, 2019
I do not think it a good feature that it change the behavior. Because I use Triple clicking in a TextBox does not select all text in the TextBox. feature to write my bussiness code. o(╥﹏╥)o
If your code be merged, I should change my exist code...
weltkante commentedon Jul 5, 2019
Sooner or later WPF needs to add new input gestures and there is always the risk that some application already was using a previously unused input gesture for its own purpose. I think its a good start to think about how to deal with that here, while triple click is not a standard Windows gesture "select all text" is a common enough interpretation of that gesture to support it by default. Maybe it can be implemented by default and disabled by a switch if someone was already using this gesture for his own purpose. Or if you think that too risky, disable it by default and let people opt in to triple clicks.
mdtauk commentedon Jul 5, 2019
Triple clicking is the expected behaviour in Windows 10, as used by UWP XAML.
Win32's Edit control only has single click to focus, and double click to select the word the cursor is over.
miloush commentedon Aug 4, 2019
On the other hand, triple click in Word selects the paragraph, not all text.
I would prefer the controls to be consistent with native controls, and I think this case in particular might be quite impactful compatibility issue.
batzen commentedon Aug 4, 2019
It behaves that way for a rich textbox. The change i made does not change the behavior for controls with rich content.
batzen commentedon Apr 26, 2020
@grubioe any news on this?
grubioe commentedon Apr 27, 2020
@fabiant3 can provide the latest status.