Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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