[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Indicates if owner-draw mode is used for the control.
Source position: comctrls.pp line 1579
protected property TCustomListView.OwnerDraw : Boolean |
OwnerDraw is a Boolean property which indicates if the control implements is own drawing routines instead of using the default drawing routines for list items on the control. The default value for the property is False.
When set to True, the OnDrawItem event handler is signalled to draw list items when the control is using the Report view style (ViewStyle = vsReport). The handler is signalled (when assigned) from the DrawItem method, and occurs when the CN_DRAWITEM control notification message is handled for the control. It should handle all aspects of drawing the list item to the control Canvas. If OnDrawItem has not been assigned, a basic default drawing routine is used.
OwnerDraw is one of the TListViewProperty values included in the TListViewProperties set type and exchanged with the widgetset class. The property value is read from and written to the TCustomTreeview widgetset class instance when its handle is valid. Changing the value for the property causes the widgetset class to be updated with the new value.
|
Event handler signalled to render an owner drawn item. |
|
|
Draws the specified list item with a given state. |
|
|
Sets one of ListView layouts: List (simple column), Report (few columns with full width), Icon (big icons), Small Icon (small icons, 16x16). |
|
|
Set type used to store values from the TListViewProperty enumeration. |
|
|
Represents Boolean properties used in TCustomListView. |
Version 3.2 | Generated 2024-02-25 | Home |