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!

MenuItem.AddOnDrawItem

Adds an event handler for the event.

[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
A System.WinForms.MenuItem.DrawItemEventHandler delegate that represents the method that will handle the System.WinForms.MenuItem.DrawItem event.

See Also

MenuItem Class | MenuItem Members | System.WinForms Namespace | RemoveOnDrawItem