BaseComboBoxCell.ObjectCollection.Item Property

This is used to set or get items by index position

Definition

Namespace: EWSoftware.ListControls.DataGridViewControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.18.0+3a863295c73252b22e8ab6862ed6bdc57bcbd0fc
public Object? this[
	int index
] { get; set; }

Parameters

index  Int32
The index position of the item to set or get

Property Value

Object

Implements

IList.Item[Int32]

Exceptions

ArgumentOutOfRangeExceptionThis is thrown if the index value is not within the bounds of the collection.
ArgumentExceptionThis is thrown if an attempt is made to set an item when a data source is in use.
ArgumentOutOfRangeExceptionThis is thrown if the index value is not within the bounds of the collection.

See Also