Vcl.RibbonActnCtrls.TRibbonRichContentItem.GetItemWidth

提供:RAD Studio API Documentation

Delphi

function GetItemWidth: Integer;

C++

int __fastcall GetItemWidth();

プロパティ

種類 可視性 ソース ユニット
function protected
Vcl.RibbonActnCtrls.pas
Vcl.RibbonActnCtrls.hpp
Vcl.RibbonActnCtrls TRibbonRichContentItem

説明

RibbonRichContentItem の幅を返します。

GetItemWidth は、RibbonRichContentItem の幅を返します。たとえば MenuProperties が Delphi で nill、C++ で NULL となり幅が計算されない場合、このメソッドは 0 を返します。

関連項目