IXlFilterColumns.FindById(Int32) Method
Returns the XlFilterColumn object by its index in the filtered range.
Namespace: DevExpress.Export.Xl
Assembly: DevExpress.Printing.v24.2.Core.dll
NuGet Package: DevExpress.Printing.Core
#Declaration
XlFilterColumn FindById(
int columnId
)
#Parameters
Name | Type | Description |
---|---|---|
column |
Int32 | An integer that is the zero-based index of the required column in the filtered range. |
#Returns
Type | Description |
---|---|
Xl |
An Xl |
#Remarks
The FindById method scans the IXlFilterColumns collection and returns the item whose XlFilterColumn.ColumnId property value matches the columnId parameter.
If the column with the specified index is not found, the FindById method returns null (Nothing in Visual Basic).
Use the IXlFilterColumns.Item property to get access to a filtered column by its index in the IXlFilterColumns collection.