ObjectView Class

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.2.dll

Declaration

public abstract class ObjectView :
    CompositeView,
    ISelectionContext,
    IDisposable
Public MustInherit Class ObjectView
    Inherits CompositeView
    Implements ISelectionContext,
               IDisposable

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.

Inheritance

See Also