Skip to main content

CompositeView.LayoutManager Property

Specifies a Composite View’s Layout Manager.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v25.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public LayoutManager LayoutManager { get; }

Property Value

Type Description
DevExpress.ExpressApp.Layout.LayoutManager

A DevExpress.ExpressApp.Layout.LayoutManager descendant that is the current Composite View’s layout manager.

Remarks

To display View Items according to layout settings defined in a DetailView or DashboardView node of the Application Model, XAF applications use platform-specific Layout Managers. Each Layout Manager uses its own component to display controls in a Composite View:

ASP.NET Core Blazor
BlazorLayoutManager: DxFormLayout
Windows Forms
WinLayoutManager: LayoutControl

Technically, an XAF Layout Manager is a wrapper around platform-specific UI controls, and provides a common API for layout customization. Useful APIs of the LayoutManager descendants include:

  • ItemCreated and LayoutCreated events – to track layout item creation
  • The Container property – to access the underlying layout control instance
  • The CustomizationFormEnabled property – an IModelView.CustomizationFormEnabled alternative to disable runtime layout customizations

For more information about layout managers and their customization in XAF, refer to the following topic: Access Form Layout Control in XAF DetailView and DashboardView.

See Also