API:Vcl.ComCtrls.THeaderControl.OnDrawSection

提供:RAD Studio API Documentation

Delphi

property OnDrawSection: TDrawSectionEvent read GetOnDrawSection write SetOnDrawSection;

C++

__property TDrawSectionEvent OnDrawSection = {read=GetOnDrawSection, write=SetOnDrawSection};

プロパティ

種類 可視性 ソース ユニット
event published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls THeaderControl

説明

ヘッダー セクションを描画します。 {{#multireplace:Vcl.ComCtrls.THeaderControl.OnDrawSection|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} は {{#multireplace:Vcl.ComCtrls.TCustomHeaderControl.OnDrawSection|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} を継承しています。以下の内容はすべて {{#multireplace:Vcl.ComCtrls.TCustomHeaderControl.OnDrawSection|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} を参照しています。

ヘッダー セクションを描画します。

OnDrawSection を使用すると、カスタム セクションを描画するコードを定義することができます。OnDrawSection は、ヘッダー セクションの Style プロパティ(Sections 配列を介してアクセスする)が hsOwnerDraw に設定されているときにのみ、発生します。

OnDrawSection は、TCustomDrawSectionEvent 型のイベント ハンドラです。

関連項目