GridViewBase.VisibleColumns Property
Gets the list of visible columns. This is a dependency property.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.2.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference 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.