ComponentOne Ribbon for WinForms
C1.Win.C1Ribbon.4.5.2 Assembly / C1.Win.C1Ribbon Namespace / RibbonButton Class / MeasureItem Event

In This Topic
    MeasureItem Event
    In This Topic
    Occurs when the button is measured.
    Syntax
    'Declaration
     
    Public Event MeasureItem As MeasureItemEventHandler
    public event MeasureItemEventHandler 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