The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ObjectView.Model Property

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public IModelObjectView Model { get; }
Public ReadOnly Property Model As IModelObjectView
public IModelObjectView Model { get; }
Public ReadOnly Property Model As IModelObjectView
public IModelObjectView Model { get; }
Public ReadOnly Property Model As IModelObjectView

Property Value

Type Description
IModelObjectView

An IModelObjectView object representing the current View's Application Model node.

Property Value

Type Description
IModelObjectView

An IModelObjectView object representing the current View's Application Model node.

Property Value

Type Description
IModelObjectView

An IModelObjectView object representing the current View's Application Model node.

Remarks

Use this property to get the current ObjectView's properties which are stored in the Application Model as property 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