Skip to main content

TdxCustomLayoutControl.ApplyBestFit Method

Specifies whether the layout control editor is resized to entirely display its content.

Declaration

procedure ApplyBestFit;

Remarks

Calling this procedure temporarily enables the AutoSize mode and resizes the layout control to display all its content unless the anchor settings restrict this. To call this procedure at design time, invoke the layout control’s context menu and click “Apply Best Fit”.

See Also