Vcl.CategoryButtons.TCatButtonDrawEvent

提供:RAD Studio API Documentation

C++

typedef void __fastcall (__closure *TCatButtonDrawEvent)(System::TObject* Sender, TButtonItem* const Button, Vcl::Graphics::TCanvas* Canvas, const System::Types::TRect &Rect, TButtonDrawState State);

プロパティ

種類 可視性 ソース ユニット 親
typedef public Vcl.CategoryButtons.hpp Vcl.CategoryButtons Vcl.CategoryButtons

説明

TCatButtonDrawEvent は、描画イベントで呼び出される手続きです。

TCatButtonDrawEvent に必要なパラメータの一覧を以下の表に示します。


引数 意味

Sender

当該イベントを生成した TCategoryButtons インスタンスを表します。

Button

描画されたボタンを表します。

Canvas

ボタンが描画されたカテゴリ ボタンのキャンバスを表します。

Rect

キャンバス上のボタンの矩形領域を表します。

State

ボタンの状態を指定します。


関連項目