.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

XafApplication.Model Property

Provides access to the Application Model's root node.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

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

Property Value

Type Description
IModelApplication

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

Property Value

Type Description
IModelApplication

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

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.

See Also