Table of Contents

Method GetCell

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetCell(int)

Retrieves the cell at the specified index if it exists; otherwise, returns null. It is safe method which does not throw exceptions.

public ListControlItem? GetCell(int cellIndex)

Parameters

cellIndex int

The zero-based index of the cell to retrieve.

Returns

ListControlItem

The cell at the specified index if it exists; otherwise, null.

GetCell(ListControlColumn)

Gets the cell associated with the specified column in the list control.

public ListControlItem? GetCell(ListControlColumn column)

Parameters

column ListControlColumn

The column for which to retrieve the corresponding cell. Cannot be null.

Returns

ListControlItem

The cell associated with the specified column, or null if no cell exists for the column.

GetCell(ObjectUniqueId)

Gets the cell for the specified column identifier.

public virtual ListControlItem? GetCell(ObjectUniqueId columnId)

Parameters

columnId ObjectUniqueId

The unique identifier of the column.

Returns

ListControlItem

The cell associated with the specified column identifier, or null if no cell exists for the identifier.