Gets the preferred width and height for the control.
Source position: grids.pas line 967
protected procedure TCustomGrid.CalculatePreferredSize( |
var PreferredWidth: Integer; |
var PreferredHeight: Integer; |
WithThemeSpace: Boolean |
); override; |
Always returns 0 (zero) in the PreferredWidth and PreferredHeight variable arguments.
|
Override this method to return a different preferred height and/or width for auto-sizing. |