CompositeView.LayoutManager Property
Specifies a Composite View’s Layout Manager.
Namespace: DevExpress.ExpressApp
Assembly: DevExpress.ExpressApp.v25.2.dll
NuGet Package: DevExpress.ExpressApp
Declaration
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:
ItemCreatedandLayoutCreatedevents – to track layout item creation- The
Containerproperty – to access the underlying layout control instance - The
CustomizationFormEnabledproperty – anIModelView.CustomizationFormEnabledalternative 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.