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.v20.1.dll

Declaration

public bool OptimizeLayout()
Public Function OptimizeLayout As Boolean

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