.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

ObjectView Class

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v21.2.dll

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ObjectView class.

Note

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.

See Also