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

ObjectView Class

Represents a base class for Views that display object(s) of a particular type.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public abstract class ObjectView :
    CompositeView

#Remarks

XAF has two actual Object View types - the DetailView and ListView. Detail Views are used to view and edit an individual object’s properties. List Views are used to view and edit object collections.

Compared to Composite Views, Object Views introduce an additional property to the Application Model‘s Views | <View> nodes, specifying the type of objects represented by an Object View. For this purpose, the ObjectView class supplies a derived version of the ObjectView.Model property which has its type changed to IModelObjectView. The IModelObjectView interface exposes a single IModelObjectView.ModelClass property, specifying the objects’ type.

See Also