Back to Devexpress

IModelColumns Interface

expressappframework-devexpress-dot-expressapp-dot-model-2c1d1840.md

latest3.1 KB
Original Source

IModelColumns Interface

The Columns node provides access to a List View’s columns.

Namespace : DevExpress.ExpressApp.Model

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
[ModelNodesGenerator(typeof(ModelListViewColumnsNodesGenerator))]
public interface IModelColumns :
    IModelNode,
    IModelList<IModelColumn>,
    IList<IModelColumn>,
    ICollection<IModelColumn>,
    IEnumerable<IModelColumn>,
    IEnumerable
vb
<ModelNodesGenerator(GetType(ModelListViewColumnsNodesGenerator))>
Public Interface IModelColumns
    Inherits IModelNode,
             IModelList(Of IModelColumn),
             IList(Of IModelColumn),
             ICollection(Of IModelColumn),
             IEnumerable(Of IModelColumn),
             IEnumerable

The following members return IModelColumns objects:

Remarks

When the Layout node is selected in the Model Editor, a design surface is displayed on the right, instead of the property list:

To learn more, refer to the List View Columns Customization topic.

This interface is a part of the Application Model infrastructure. You do not need to implement this interface in most cases.

The IModelColumns node represents a list of the IModelColumn nodes.

To customize the default content of this node, implement a Generator Updater for the ModelListViewColumnsNodesGenerator Nodes Generator.

See Also

IModelColumns Members

Application Model (UI Settings Storage)

How the XAF Application Model Works

List View Column Generation

DevExpress.ExpressApp.Model Namespace