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: 2024.12.18.0+3a863295c73252b22e8ab6862ed6bdc57bcbd0fc
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