Back to Devexpress

ObjectView Class

expressappframework-devexpress-dot-expressapp-a93f27ee.md

latest3.3 KB
Original Source

ObjectView Class

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

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public abstract class ObjectView :
    CompositeView
vb
Public MustInherit Class ObjectView
    Inherits 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.

Inheritance

Object View CompositeView ObjectView DetailView

ListView

Extension Methods

CustomizeViewItemControl(Controller, Action<ViewItem>)

CustomizeViewItemControl<T>(Controller, Action<T>)

CustomizeViewItemControl(Controller, Action<ViewItem>, String[])

CustomizeViewItemControl<T>(Controller, Action<T>, String[])

See Also

ObjectView Members

Views

DevExpress.ExpressApp Namespace