FlexChart | ComponentOne
C1.Win.Ribbon.4.8 Assembly / C1.Win.Ribbon Namespace / RibbonButton Class / MeasureItem Event

In This Topic
    MeasureItem Event (RibbonButton)
    In This Topic
    Occurs when the button is measured.
    Syntax
    'Declaration
     
    Public Event MeasureItem As System.EventHandler(Of MeasureItemEventArgs)
    public event System.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.

    PropertyDescription
    Gets the Graphics object to measure against  
    Gets the RibbonItem that is being OwnerDrawn  
    Gets or sets the height of the item.  
    Gets or sets the width of the item.  
    See Also