The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ViewItem.CurrentObject Property

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

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public object CurrentObject { get; set; }
Public Property CurrentObject As Object
public object CurrentObject { get; set; }
Public Property CurrentObject As Object
public object CurrentObject { get; set; }
Public Property CurrentObject As Object

Property Value

Type Description
Object

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

Property Value

Type Description
Object

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

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