API:Vcl.Touch.GestureCtrls.TGestureListView.OwnerDraw
Delphi
property OwnerDraw: Boolean read FOwnerDraw write SetOwnerDraw default 0;
C++
__property OwnerDraw = {default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.Touch.GestureCtrls.pas Vcl.Touch.GestureCtrls.hpp |
Vcl.Touch.GestureCtrls | TGestureListView |
Description
Specifies whether the list view receives an OnDrawItem event.
Vcl.Touch.GestureCtrls.TGestureListView.OwnerDraw inherits from Vcl.ComCtrls.TCustomListView.OwnerDraw. All content below this line refers to Vcl.ComCtrls.TCustomListView.OwnerDraw.
Specifies whether the list view receives an OnDrawItem event.
Set OwnerDraw to True and ViewStyle to vsReport in order to allow the list view to receive the OnDrawItem event instead of the default rendering of list items.
Note: This property is independent of the OnCustomDraw, OnCustomDrawItem, OnAdvancedCustomDraw, and OnAdvancedCustomDrawItem events.