Skybound AutoComplete

AutoCompleteManager.MeasureItem Event

Occurs when DrawMode is OwnerDrawAndMeasure, and an item in the drop-down suggestion window is measured.

[Visual Basic]
Public Event MeasureItem As MeasureItemEventHandler
[C#]
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.

Property Description
AutoComplete Gets the instance of AutoComplete that raised the event.
Font Gets the font used to draw the item.
Graphics Gets the graphics surface on which the item is drawn.
ItemHeight Gets or sets the height of the item.
ItemIndex Gets the index of the item for which the event was raised.
ItemValue Gets the item object for which the event was raised.
Text Gets the string representation of the item, as it is displayed in the drop-down suggestion window.
VisibleIndex Gets the index of the visible item for which the event was raised.

See Also

AutoCompleteManager Class | Skybound.AutoComplete Namespace