Nevron.UI.WinForm.Controls Namespace / NComboBoxList Class / MeasureItem Event


MeasureItem Event (NComboBoxList)
Syntax
'Declaration
 
<SRCategoryAttribute("CatBehavior")>
<SRDescriptionAttribute("measureItemEventDescr")>
Public Event MeasureItem As System.Windows.Forms.MeasureItemEventHandler
 
'Usage
 
Dim instance As NComboBoxList
Dim handler As System.Windows.Forms.MeasureItemEventHandler
 
AddHandler instance.MeasureItem, handler
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.  
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also