Back to Devexpress

XafApplication.Model Property

expressappframework-devexpress-dot-expressapp-dot-xafapplication-b414ee35.md

latest2.0 KB
Original Source

XafApplication.Model Property

Provides access to the Application Model‘s root node.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
[Browsable(false)]
public virtual IModelApplication Model { get; }
vb
<Browsable(False)>
Public Overridable ReadOnly Property Model As IModelApplication

Property Value

TypeDescription
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.

See Also

XafApplication Class

XafApplication Members

DevExpress.ExpressApp Namespace