LookUpEdit.ItemIndex Property
Gets or sets the index of the selected row in the dropdown.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
Int32 | The zero-based index of the selected row in the editor’s dropdown. -1 if no row is currently selected, or the data source is not specified. |
Remarks
The ItemIndex property allows you to select a row by specifying its visual position in the editor’s dropdown.
The ItemIndex property value can be used to get the row’s values with the RepositoryItemLookUpEdit.GetDataSourceValue method.
See Also