Skip to main content
.NET 8.0+

ColumnsListEditor.AddColumn(IModelColumn) Method

Adds a column to the ColumnsListEditor, using information from the specified Application Model‘s node.

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public ColumnWrapper AddColumn(
    IModelColumn columnInfo
)

Parameters

Name Type Description
columnInfo IModelColumn

An IModelColumn object specifying the Column child node of the Application Model’s Views | ListView | Columns node.

Returns

Type Description
DevExpress.ExpressApp.Editors.ColumnWrapper

A ColumnWrapper descendant that represents the added column.

Remarks

This method is intended for internal use.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AddColumn(IModelColumn) method.

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