Skip to main content

LayoutGroup.OptimizeLayout() Method

Optimizes the layout of controls, removing unnecessary groups, without visually breaking the existent layout.

Namespace: DevExpress.Xpf.LayoutControl

Assembly: DevExpress.Xpf.LayoutControl.v24.1.dll

NuGet Package: DevExpress.Wpf.LayoutControl

Declaration

public bool OptimizeLayout()

Returns

Type Description
Boolean

A Boolean value that specifies whether the layout has been optimized.

Remarks

This method calls another OptimizeLayout method overload with the keepEmptyTabs parameter set to false. See this overload to learn more.

See Also