开发者

Colorize the Autocomplete list of the combobox

I'm using c# 4.0 on Windows Forms application,

I've a combobox with some items, i enabled the au开发者_Python百科to complete feature of it to SuggestAppend, with Auto complete source to ListItems (binded source)

now when user start typing, the auto complete list apears, I want to colorize those items in the autocomplete list depending on some condition,

I knew that there is a way to colorize the combobox items itself using DrawItem event handler, but i want to do this in the autocomplete list.

is this applicable ?? and how ?


This is not possible.

The Windows feature that the .NET control is relying on:

SHAutComplete

doesn't support this. So the .NET control that uses it cannot do it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜