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

ColumnView Class

Serves as the base for Views that display data in a tabular format and allow editing of cell values by using inplace editors.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v17.2.dll

Declaration

public abstract class ColumnView :
    BaseView,
    IDataControllerVisualClient2,
    IDataControllerVisualClient,
    IDataControllerSort,
    IDataControllerData2,
    IDataControllerData,
    IDataControllerThreadClient,
    IDataControllerCurrentSupport,
    IColumnViewSearchClient,
    IFilteredComponent,
    IFilteredComponentBase,
    IControlRowSource,
    IFilteringUIClient,
    IFilterCriteriaBindingAware

The following members accept/return ColumnView objects:

Library Related API Members
WinForms Controls GridColumn.View
GridColumnCollection.View
GridColumnReadOnlyCollection.View
GridColumnSortInfoCollection.View
GridFormatRuleCollection.View
RepositoryItemGridLookUpEditBase.PopupView
eXpressApp Framework WinColumnsListEditor.ColumnView

Remarks

Grid Views and Card Views have much in common. They both display data by means of columns and allow cell value editing. Thus, the GridView and CardView classes are not derived directly from the BaseView class. Their common functionality is implemented by the ColumnView object. This common functionality includes column management, data navigation, data editing, input validation, etc.

You can use the ColumnView class as the base for custom Views displaying data in a tabular format. This implies that data is displayed by means of columns (corresponding to data fields) and rows (corresponding to records).

Note: not all members provided by the ColumnView class can be equally used in Grid Views and Card Views. In Card Views, some functionality is disabled. For instance, Card Views do not support data grouping.

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

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