LayoutControl.BestFit() Method
Proportionally resizes layout items that are displayed in a single row.
Namespace: DevExpress.XtraLayout
Assembly: DevExpress.XtraLayout.v22.2.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Remarks
The BestFit method proportionally resizes layout items that are displayed in a single row. For instance, if two items are displayed in a single row, the BestFit method will resize the items so that each occupies half of the row’s space.
Resized items can share the row’s space unequally. You can specify the row width percentage that each item will gain via the BaseLayoutItem.BestFitWeight property. See this topic to learn more.