Vcl.RibbonActnCtrls.TRibbonRichContentItem.GetItemWidth
Delphi
function GetItemWidth: Integer;
C++
int __fastcall GetItemWidth();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.RibbonActnCtrls.pas Vcl.RibbonActnCtrls.hpp |
Vcl.RibbonActnCtrls | TRibbonRichContentItem |
Description
Returns the width of a RibbonRichContentItem.
GetItemWidth returns the width of a RibbonRichContentItem. If the width cannot be calculated, for example because MenuProperties is nill for Delphi and NULL for C++, the method returns 0.