Occurs when a button on a band needs to be measured.
The event handler receives an argument of type MeasureButtonEventArgs containing data related to this event. The following MeasureButtonEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Button | Gets the RebarButton to measure. |
FixedHeight | Gets the height of the toolbar that contains the button. |
Graphics | Gets the Graphics surface to measure against. |
MeasuredWidth | Gets or sets the measured width of the button. |
Renderer | Gets a renderer that can measure the button. |
Handle this event to use your own custom code to measure one or more of the buttons on the band.
This event is not raised unless the DrawMode property is set to OwnerDrawAndMeasure.
RebarBand Class | Skybound.Rebar Namespace