NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

CheckedListBox.OnDrawItem

Actually goes and fires the drawItem event. Inheriting controls should use this to know when the event is fired [this is preferable to adding an event handler yourself for this event]. They should, however, remember to call base.OnDrawItem(e); to ensure the event is still fired to external listeners

[Visual Basic]
Overrides Protected Sub OnDrawItem( _
   ByVal e As DrawItemEventArgs _
)
[C#]
protected override void OnDrawItem(
   DrawItemEventArgs e
);
[C++]
protected: override void OnDrawItem(
   DrawItemEventArgs* e
);
[JScript]
protected override function OnDrawItem(
   e : DrawItemEventArgs
);

Parameters

e
DrawItemEventArgs object with the details

See Also

CheckedListBox Class | CheckedListBox Members | System.WinForms Namespace