BaseListControlFind Method

This is called to find an item in the data source

Definition

Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
public int Find(
	Object key
)

Parameters

key  Object
The item to find in the data source. The ValueMember is searched for this value if one is specified. If not, the item text is searched for the value.

Return Value

Int32
The index of the found item or -1 if not found

Exceptions

ArgumentNullExceptionThis is thrown if the item to find is null

See Also