Skip to main content
.NET 6.0+

XafApplication.Model Property

Provides access to the Application Model‘s root node.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v23.2.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