Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ListEditor.Model Property

Provides access to the Application Model node that defines the List View represented by the current List Editors.

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public IModelListView Model { get; }

#Property Value

Type Description
IModelListView

An IModelListView object that allows you to access the List View settings stored in the Application Model.

#Remarks

As an alternative, you can use the ListView.Model property to access a List View’s settings.

When deriving from the ListEditor class, the ListEditor.Model property is typically used in the following cases:

  • To customize the List Editor’s control based on the Application Model’s settings in the ListEditor.CreateControlsCore method.
  • To persist changes made by an end-user to the control’s settings in the ListEditor.SaveModel method.

To learn how to customize the Application Model, refer to the Extend and Customize the Application Model in Code help topic. To learn how to use the Application Model in code, refer to the Access the Application Model in Code help topic.

See Also