NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ComboBox.AddOnMeasureItem

Adds an event handler for the measureItem event notification. This event is called for combo boxes whose drawMode property is set to DrawMode.OwnerDrawVariable, and asks the programmer for the size of the given item in the combo box.

[Visual Basic]
Public Sub AddOnMeasureItem( _
   ByVal handler As MeasureItemEventHandler _
)
[C#]
public void AddOnMeasureItem(
   MeasureItemEventHandler handler
);
[C++]
public: void AddOnMeasureItem(
   MeasureItemEventHandler* handler
);
[JScript]
public function AddOnMeasureItem(
   handler : MeasureItemEventHandler
);

Parameters

handler
New Event Handler to install for this event.

See Also

ComboBox Class | ComboBox Members | System.WinForms Namespace