Vcl.ComCtrls.TCustomListView.OwnerDraw

提供:RAD Studio API Documentation

Delphi

property OwnerDraw: Boolean read FOwnerDraw write SetOwnerDraw default False;

C++

__property bool OwnerDraw = {read=FOwnerDraw, write=SetOwnerDraw, default=0};

プロパティ

種類 可視性 ソース ユニット 親
property protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomListView

説明

リスト ビューが OnDrawItem イベントを受け取るかどうかを示します。

OwnerDraw を True に、そして ViewStyle を vsReport に設定すると、リスト項目がデフォルトでレンダリングされる代わりに、リスト ビューはOnDrawItem イベントを受け取ることができます。

メモ:このプロパティは、OnCustomDraw 、OnCustomDrawItem 、OnAdvancedCustomDraw 、および OnAdvancedCustomDrawItem イベントに依存しません。

関連項目