Skip to main content
.NET Framework 4.5.2+

ObjectViewController<ViewType, ObjectType>.ViewCurrentObject Property

Gets the current object (see View.CurrentObject).

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v22.2.dll

NuGet Package: DevExpress.ExpressApp


public ObjectType ViewCurrentObject { get; }

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 ServerView, InstantFeedback, InstantFeedbackView, 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 IObjectRecord wrapper instead of the business object itself.

See Also