Vcl.ComCtrls.TListView.OnAdvancedCustomDraw

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

property OnAdvancedCustomDraw: TLVAdvancedCustomDrawEvent read FOnAdvancedCustomDraw write FOnAdvancedCustomDraw;

C++

__property OnAdvancedCustomDraw;

プロパティ

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

説明

リスト ビューのレンダリング中に、断続的に発生します。

Vcl.ComCtrls.TListView.OnAdvancedCustomDraw は Vcl.ComCtrls.TCustomListView.OnAdvancedCustomDraw を継承しています。以下の内容はすべて Vcl.ComCtrls.TCustomListView.OnAdvancedCustomDraw を参照しています。

リスト ビューのレンダリング中に、断続的に発生します。

OnAdvancedCustomDraw イベント ハンドラを記述すると、リスト ビューの描画を、その項目を描画する前のさまざまな段階で、カスタマイズすることができます。 OnDrawItem イベントとは異なり、OwnerDraw プロパティが False であっても、リスト ビューはこのイベントを受け取ることができます。

メモ: OnAdvancedCustomDraw は、描画処理中のさまざまな段階で発生します。 リスト ビューをレンダリングする直前に実行するコードを記述するだけなら、OnCustomDraw イベントを使用した方がより効果的でしょう。

関連項目