Skip to main content
Table of Contents

ITMSFNCMenuItemInteraction.CalcSize Method

Calculates the preferred size of the menu item in the current layout.

API unit family: TMSFNCPopupMenu Declaring type: ITMSFNCMenuItemInteraction Inherited from: ITMSFNCMenuItem

Syntax

FMX.TMSFNCPopupMenu.hppPascalC++
function CalcSize: TSizeF;
virtual System::Types::TSizeF __fastcall CalcSize() = 0;

Returns

Width and height that the item requires to render its content without clipping.