Skip to main content
.NET Framework 4.6.2+

XafApplication.CreateLayoutManager(Boolean) Method

Creates a Layout Manager.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public LayoutManager CreateLayoutManager(
    bool simple
)

Parameters

Name Type Description
simple Boolean

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

Returns

Type Description
DevExpress.ExpressApp.Layout.LayoutManager

A LayoutManager object.

Remarks

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