RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomListView.OwnerDraw Property

Specifies whether the list view receives an OnDrawItem event.

Pascal
property OwnerDraw: Boolean;
C++
__property Boolean OwnerDraw;

Set OwnerDraw to true 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 custom draw events such as OnCustomDraw, OnCustomDrawItem, OnAdvancedCustomDraw, and so on. The custom draw events always occur.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!