'Declaration Public Event DrawItem As System.EventHandler(Of DrawItemEventArgs)
public event System.EventHandler<DrawItemEventArgs> DrawItem
Event Data
The event handler receives an argument of type DrawItemEventArgs containing data related to this event. The following DrawItemEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Bounds | Gets the rectangle that represents the bounds of the item being drawn. |
Font | Gets the font assigned to the item being drawn. |
ForeColor | Gets the foreground color of the of the item being drawn. |
Graphics | Gets the graphics surface to draw the item on. |
Item | Gets the RibbonItem that is being OwnerDrawn |
State | Gets the state of the item being drawn. |
See Also