Skip to main content
A newer version of this page is available. .

ObjectViewController<ViewType, ObjectType>.ViewCurrentObject Property

Gets the current object (see View.CurrentObject).

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

[Browsable(false)]
public ObjectType ViewCurrentObject { get; }

Property Value

Type Description
ObjectType

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

Remarks

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