Skip to main content

TcxComponentCollection.FindItemByID(Integer) Method

Returns a reference to a collection element, by its unique identifier.

Declaration

function FindItemByID(ID: Integer): TcxComponentCollectionItem;

Parameters

Name Type
ID Integer

Returns

Type
TcxComponentCollectionItem

Remarks

The FindItemID method returns a value of nil, if there are no elements with ids that match the specified id.

The zero-based ID parameter specifies the unique identifier of the required element.

See Also