Select all text in a Winforms Infragistics ComboBox
-
20-08-2019 - |
Question
Is there a way to do this? I want to mimic the behavior of a the UltraTextBox.SelectAll method in windows forms.
Solution
You might want to provide the exact version of Infragistics Library...
Does
this.UltraCombo1.TextBox.SelectAll()
do what you want?
OTHER TIPS
I think your problem is that you have HideSelection set to true. If you set this to false then textBox1.SelectAll will function as you expect...alternatively you need to give focus to your textbox before calling SelectAll().
I'm not sure how SelectAll works for UltraTextBox but I presume it just selects all the text in the textbox.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow