The requested page is not available for the requested platform. You are viewing the content for Default platform.

ObjectViewController<ViewType, ObjectType>.ViewCurrentObject Property

Gets the current object (see View.CurrentObject).

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.1.dll


public ObjectType ViewCurrentObject { get; }
Public ReadOnly Property ViewCurrentObject As ObjectType

Property Value

Type Description

An object of the type specified using the ObjectViewController<ViewType, ObjectType>'s ObjectType generic parameter representing the View's current object.


In the InstantFeedback and DataView List View data access modes, reading this property value causes an extra request to the database. If this request is unwanted for performance reasons, use the View.CurrentObject property, which returns an XafInstantFeedbackRecord or XafDataViewRecord wrapper instead of the business object itself.

See Also