c# - StringConverter with StandardValuesSupported and Autocompletion -
I want to develop a stringconver with standard values, which will connect it to the property and work as a combo box with Autobox. The examples given will give me a combo box, but without autocompletion - the user has to expand it and manually select one item. If there is a way to allow the user to type the start of a single option, then will the combobox automatically select the matching player? Public class converter sample: System.ComponentModel.StringConverter {Public Override Bull GetStandardValuesSupported (ITypeDescriptorContext Reference) {// Correct Meaning A Combobobx Returns Correct; } Public Override Bull GetStandardValuesExclusive (ITypeDescriptorContext Reference) {return false; } Public override typecounter Standard Values Collection GetStandardValues (ITIP descriptor contact reference) {new standard valve collection (new list & lt; string & gt; () {"stack", "overflow", "rule"); }
The list returned by GetStandardValues is to be dynamic, so I can not use any enumeration there. I took an example from the above:
I'm not an expert but it seems that you need a UITPeter is. An example can be found here:
Comments
Post a Comment