Method SelectItem
SelectItem(ComboBox, object, out Point)
Finds position of the syntax element linked to the currently selected item in the ComboBox control.
public static bool SelectItem(ComboBox comboBox, object document, out Point position)
Parameters
comboBoxComboBoxComboBox to process.
documentobjectSource code document.
positionPointReceives start point of currently selected syntax element.
Returns
- bool
True if succeed; otherwise false.