Scheduler for WinForms | ComponentOne
C1.Win.C1Schedule.4.8 Assembly / (Global) Namespace / cp Class / MeasureItem Event

In This Topic
    MeasureItem Event (cp)
    In This Topic
    Syntax
    'Declaration
     
    Public Event MeasureItem As System.Windows.Forms.MeasureItemEventHandler
    public event System.Windows.Forms.MeasureItemEventHandler MeasureItem
    Event Data

    The event handler receives an argument of type System.Windows.Forms.MeasureItemEventArgs containing data related to this event. The following MeasureItemEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets the System.Drawing.Graphics object to measure against.  
    Gets the index of the item for which the height and width is needed.  
    Gets or sets the height of the item specified by the System.Windows.Forms.MeasureItemEventArgs.Index.  
    Gets or sets the width of the item specified by the System.Windows.Forms.MeasureItemEventArgs.Index.  
    See Also