Hi,
I'm trying to modify the behaviour of a Windows.Forms ComboBox so that the AutoComplete drop down displays items according to the rules I specify.
By default, if you use AutoComplete in a ComboBox, the rule that's followed is "string s is included in the drop down if( s.StartsWith( userEnteredTextInTheComboBox) )" All I'm really interested in is substituting a new rule for the current one, but I can find no way to get at it. (Specifically, I'd prefer s.Contains instead of s.StartsWith.)
I can kludge together a clumsy solution using two controls instead of one, but I'd really be happier with one that actually does what I want.
Update: I found essentially the same question after some more searching. The answer supplied there suggests that using two controls to "fake it" is the way to go.