Skip to main content

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

public abstract class CompositeView :
    View

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.

See Also