Ribbon for WinForms | ComponentOne
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 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.

    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