Skybound Rebar

MeasureButtonEventArgs Class

Provides data for the MeasureButtonEventHandler event.

For a list of all members of this type, see MeasureButtonEventArgs Members.

System.Object
   System.EventArgs
      Skybound.Rebar.MeasureButtonEventArgs

[Visual Basic]
Public Class MeasureButtonEventArgs
    Inherits EventArgs
[C#]
public class MeasureButtonEventArgs : EventArgs

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

The MeasureButtonEventArgs class provides a reference to the button being drawn, a Graphics object to draw on, the fixed height of the button, and a RebarButtonRenderer that can be used to measure various elements of the rebar button.

The fixed height each button is determined by the value of the MinimumSize property of the band.

When handling the MeasureButton event, set the MeasuredWidth property to the width of the button.

Requirements

Namespace: Skybound.Rebar

Assembly: Skybound.Rebar (in Skybound.Rebar.dll)

See Also

MeasureButtonEventArgs Members | Skybound.Rebar Namespace