Skip to main content
.NET 8.0+

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