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.v23.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core


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

Property Value

Type Description

The list of visible columns.


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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the VisibleColumns property.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also