Adds an event handler for the drawItem event notification. This event is called for list boxes whose drawMode property is set to DrawMode.OWNERDRAWFIXED or DrawMode.OWNERDRAWVARIABLE, and contains a Graphics object in which people should paint the item. Duplicates adds are not filtered out.
[Visual Basic] Public Sub AddOnDrawItem( _ ByVal handler As DrawItemEventHandler _ ) [C#] public void AddOnDrawItem( DrawItemEventHandler handler ); [C++] public: void AddOnDrawItem( DrawItemEventHandler* handler ); [JScript] public function AddOnDrawItem( handler : DrawItemEventHandler );
ComboBox Class | ComboBox Members | System.WinForms Namespace