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

ASPxGridView.VisibleColumns Property

Gets a collection of visible columns within the ASPxGridView.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll

Declaration

public ReadOnlyGridColumnCollection<GridViewColumn> VisibleColumns { get; }

Property Value

Type Description
ReadOnlyGridColumnCollection<GridViewColumn>

A ReadOnlyGridColumnCollection<T><GridViewColumn,> object that is a collection of visible columns within ASPxGridView.

Remarks

The VisibleColumns collection contains the columns with the Visible property set to true. To access the collection that contains all the columns owned by the ASPxGridView, use the ASPxGridView.AllColumns property.

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.

See Also