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
220
ComboBoxTool and the Text property - Text property different than displayed value
posted

I'm having an unexpected result when I edit one of my comboboxtools in a ribbon. If I choose from the dropdown list everything works fine, but typing in a value is returning only what the user types in to the Text property, NOT what shows in the text area of the comboboxtool.

If I check the value WITHIN the BeforeToolExitEditMode, the Text property shows what I see. As soon as the control exits the edit mode, the Text property reverts back to whatever the user typed in. The Value property is correct in either case; it shows the ID associated with the full text displayed.

 

The DropDownStyle is set to dropdown and AutoComplete is set to true