XafApplication.CreateLayoutManager(Boolean) Method

Creates a Layout Manager.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.1.dll

Syntax

public LayoutManager CreateLayoutManager(
    bool simple
)

Parameters

Type Name Description
Boolean simple

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

Returns

Type Description
DevExpress.ExpressApp.Layout.LayoutManager

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.