Skip to main content
A newer version of this page is available. .

GridViewBase.VisibleColumns Property

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

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v18.2.dll

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 that are displayed within the Column Band Chooser are stored within a view’s DataViewBase.ColumnChooserColumns read-only collection.

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

The following code snippets (auto-collected from DevExpress Examples) contain references to the VisibleColumns property.

Note

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