Vcl.RibbonActnCtrls.TRibbonGalleryItem.CalcBounds
Delphi
procedure CalcBounds; override;
C++
virtual void __fastcall CalcBounds(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.RibbonActnCtrls.pas Vcl.RibbonActnCtrls.hpp |
Vcl.RibbonActnCtrls | TRibbonGalleryItem |
Description
Calculates the size of the control.
Vcl.RibbonActnCtrls.TRibbonGalleryItem.CalcBounds inherits from Vcl.RibbonActnCtrls.TRibbonBaseButtonControl.CalcBounds. All content below this line refers to Vcl.RibbonActnCtrls.TRibbonBaseButtonControl.CalcBounds.
Calculates the size of the control.
CalcBounds computes the boundaries of the control considering factors such as the presence of an icon, caption, and shortcuts.