DetailView Class

Represents a Detail View.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.1.dll

Syntax

public class DetailView :
    ObjectView,
    ISelectionContext,
    IDisposable

The DetailView class allows you to view or edit an individual object's properties.

Detail Views are the result of the automatic UI construction. This means that you do not need to create DetailView objects manually. However, you can influence this process by editing the Application Model's Views | <DetailView> node. Via this node, you can specify the object to be represented, the View Items to be displayed in a UI and layout of these items.

If you need to customize a Detail View in code, you can access it via a Frame.View or ViewController.View property. Use a DetailView's DetailView.CurrentObject property to specify the object to be represented; the CompositeView.Items, CompositeView.AddItem, CompositeView.RemoveItem and CompositeView.InsertItem members - to specify the View Items to be displayed; the CompositeView.LayoutManager property - to specify the View Items layout.

The ObjectView class, which is the base class for the DetailView class, has one more descendant - the ListView class. This class is used to represent an object collection.

Inheritance

Inherited Members

See Also