'Declaration
Public Event MeasureItem As EventHandler(Of MeasureItemEventArgs)
public event EventHandler<MeasureItemEventArgs> MeasureItem
Event Data
The event handler receives an argument of type MeasureItemEventArgs containing data related to this event. The following MeasureItemEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Graphics | Gets the Graphics object to measure against |
Item | Gets the RibbonItem that is being OwnerDrawn |
ItemHeight | Gets or sets the height of the item. |
ItemWidth | Gets or sets the width of the item. |
See Also