Skip to main content
.NET 6.0+

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 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

XafApplication.Model Property

Provides access to the Application Model‘s root node.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

[Browsable(false)]
public virtual IModelApplication Model { get; }

#Property Value

Type Description
IModelApplication

An IModelApplication object that represents the Application Model’s root node.

#Remarks

You can use this property to access a particular Application Model node (see Access the Application Model in Code).

The Application Model object returned by the Model property can be changed during the application life cycle (e.g., when the Application Model is loaded for the first time and when the user differences are loaded or unloaded). To be notified of this change, subscribe to the XafApplication.ModelChanged event.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Model property.

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