Specifies the object for which the current View Item’s View is created.
An object represented by the View where the current View Item is contained.
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CurrentObject property.
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.