_CommandBarComboBox.ListIndex Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns or sets the index number of the selected item in the list portion of the command bar combo box control.
public:
property int ListIndex { int get(); void set(int value); };
public int ListIndex { get; set; }
member this.ListIndex : int with get, set
Public Property ListIndex As Integer
Property Value
Remarks
Setting the ListIndex property causes the specified control to select the given item and execute the appropriate action in the application.
If nothing is selected in the list, this property returns zero. This property fails when applied to controls other than list controls.
Notes to callers