c# - Is there an event handler called after ComboBox.Items.Clear()? -


i'm trying fire event when combo box has items cleared , cannot seem find appropriate handler.

the code simply:

combobox.items.clear() // fire event here. 

i have tried selectedindexchanged , selectedvaluechanged no luck.

is there event handler called after clear()?

unfortunately, there no event can catch can see in the source.

you handle cb_resetcontent win32 message:

protected override void wndproc(ref message m) {     if (m.msg == 0x014b /* cb_resetcontent */)     {         //     }      base.wndproc(ref m); } 

Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -