ColumnView.GetVisibleColumn(Int32) Method
Returns the column displayed at a specific position.
Namespace: DevExpress.XtraGrid.Views.Base
Assembly: DevExpress.XtraGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
public virtual GridColumn GetVisibleColumn(
int visibleIndex
)
#Parameters
Name | Type | Description |
---|---|---|
visible |
Int32 | An integer value representing the visible index of the desired column. This parameter value corresponds to the Grid |
#Returns
Type | Description |
---|---|
Grid |
A Grid |
#Remarks
Alternatively, visible columns can be accessed by their indexes using the ColumnView.VisibleColumns property. This property allows you to access visible columns using indexer notation.