In order for this event to be raised, you must have the MenuItem.OwnerDraw property of the menu item set to true. This event is raised before owner drawn menus are drawn to allow for the size of the menu item to be drawn to be specified. For more information about handling events, see Consuming Events.