.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

XafApplication.CreateLayoutManager(Boolean) Method

Creates a Layout Manager.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v21.2.dll


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 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