Gets the current template index, which depends on whether the item is selected or not.
SelectedTemplateIndex when the item is Selected, otherwise TemplateIndex.
ListItem Class | Resco.Controls.AdvancedComboBox Namespace