Vcl.ComCtrls.TCustomHCCreateSectionClassEvent
Delphi
TCustomHCCreateSectionClassEvent = procedure(Sender: TCustomHeaderControl;
var SectionClass: THeaderSectionClass) of object;
C++
typedef void __fastcall (__closure *TCustomHCCreateSectionClassEvent)(TCustomHeaderControl* Sender, THeaderSectionClass &SectionClass);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
type typedef |
public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | Vcl.ComCtrls |
説明
TCustomHCCreateSectionClassEvent は、TCustomHeaderControl クラスの OnCreateSectionClass イベントで呼び出される手続きです。
OnCreateSectionClass イベントのハンドラは、SectionClass パラメータに THeaderSection が設定された状態で呼び出されます。イベント ハンドラではこの値を THeaderSection の任意の下位クラスに変更でき、それがヘッダー セクション オブジェクトの作成に使用されるようになります。