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.v24.1.dll

NuGet Package: DevExpress.ExpressApp

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 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