Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ViewItem.CurrentObject Property

Specifies the object for which the current View Item’s View is created.

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public object CurrentObject { get; set; }

#Property Value

Type Description
Object

An object represented by the View where the current View Item is contained.

#Remarks

Use this property to access the object represented by the current View Item’s View.

When this property value is changed, the OnCurrentObjectChanging and OnCurrentObjectChanged methods are called. If you implement the ViewItem class’ descendant, override these methods and raise the CurrentObjectChanging and CurrentObjectChanged events, if required.

See Also