Skip to main content

GridViewBase.VisibleColumns Property

Gets the list of visible columns. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v22.1.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public IList<GridColumn> VisibleColumns { get; protected set; }

Property Value

Type Description
IList<GridColumn>

The list of visible columns.

Remarks

The VisibleColumns list contains the columns whose BaseColumn.Visible property is set to true. To access the collection which contains all the columns owned by the grid, use the GridControl.Columns property.

Hidden columns are stored in the DataViewBase.ColumnChooserColumns read-only collection.

To learn more, see Hiding and Displaying Columns and Bands and Accessing and Identifying Columns.

See Also