Back to Devexpress

CompositeView Class

expressappframework-devexpress-dot-expressapp-1cad59ba.md

latest3.9 KB
Original Source

CompositeView Class

A base class for Views that support View Items layout.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public abstract class CompositeView :
    View
vb
Public MustInherit Class CompositeView
    Inherits View

The following members return CompositeView objects:

Remarks

The CompositeView class is a base class for Views that support View Items layout. View Items are abstract entities displayed in a UI by various controls.

View Items Collection

The CompositeView.Items property exposes a collection of the Composite’s View’s View Items.

Layout Customization

View Items layout functionality enables automatic generation of Detail Views and offers multiple ways to customize the layout:

  • Design time - Use the Model Editor.
  • Runtime - Use the Customization form.
  • Code - Customize programmatically.

For detailed information about layout customization techniques, refer to the following topic: View Items Layout Customization.

Note

XAF has two Composite View types that fully support View Items layout:

The List View class also derives from CompositeView, but it does not support View Items layout.

Inheritance

Object View CompositeView DashboardView

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

CompositeView Members

Views

DevExpress.ExpressApp Namespace