Skip to main content

LayoutGroup.BestFit() Method

Resizes all elements with the group so that they are displayed in the optimal way.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.1.dll

NuGet Package: DevExpress.Win.Navigation


public void BestFit()


Use the BestFit method to resize layout items within the group.

The following example demonstrates how to resize a layout group for optimal display:

See Also