Skip to main content

LookUpColumnInfoCollection.VisibleIndexOf(LookUpColumnInfo) Method

Gets the zero-based index of the specified visible column.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public int VisibleIndexOf(
    LookUpColumnInfo column
)

Parameters

Name Type Description
column LookUpColumnInfo

The column found.

Returns

Type Description
Int32

The zero-based index of the specified visible column.

Remarks

The property retrieves the index of the specified column among visible columns. The visibility of columns is determined by the LookUpColumnInfo.Visible property.

If the LookUpColumnInfo.Visible property of column is false, the property returns -1.

The property supports the internal .NET infrastructure and usually you do not need to use this from your code.

See Also