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

View.Model Property

Provides access to information on a View, which is stored in the Application Model.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public virtual IModelView Model { get; }

#Property Value

Type Description
IModelView

An IModelView object representing the current View’s Application Model node.

#Remarks

Use this property to get the current View‘s properties which are stored in the Application Model as attribute values.

By default, the Model property is set when a View is created. You can change this property value by calling the View’s View.SetModel 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