Skip to main content
.NET Framework 4.5.2+

XafApplication.CreateLayoutManager(Boolean) Method

Creates a Layout Manager.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v23.1.dll

NuGet Package: DevExpress.ExpressApp


public LayoutManager CreateLayoutManager(
    bool simple


Name Type Description
simple Boolean

A Boolean value that indicates whether a simple Layout Manager must be created.


Type Description

A LayoutManager object.


This method returns the result of the protected abstract CreateLayoutManagerCore method, which should be overridden in the XafApplication class descendants. For instance, in the Windows Forms applications, the WinSimpleLayoutManager or WinLayoutManager is created in dependence whether the simple parameter is set to true of false, respectively. In ASP.NET Web Forms applications, the WebLayoutManager is created in either case.

You may need to use this method, if your control contains other controls that must be arranged by a Layout Manager.

See Also