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!

TabBase.AddOnDrawItem

Adds an event handler for the "OnDrawItem" event notification. This event is called for list boxes whose listStyle property is set to TabDrawMode.OWNERDRAWFIXED, 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
);

Parameters

handler
New Event Handler to install for this event.

See Also

TabBase Class | TabBase Members | System.WinForms Namespace