XTPGridCustomDraw Enumeration
Description
Used to specify which drawing events, if any, will be executed.
Members
| Member | Description |
|---|---|
xtpCustomDrawItem |
DrawItem event. |
xtpCustomMeasureRow |
MeasureRow event. |
xtpCustomBeforeDrawRow |
BeforeDrawRow event. |
xtpCustomDrawPreviewItem |
DrawPreviewItem event. |
xtpCustomMeasurePreviewItem |
MeasurePreviewItem event. |
Remarks
The SetCustomDraw method uses the XTPGridCustomDraw flags to specify which drawing events are executed.
If all three events are executed, the order that they occur is:
The MeasureRow event occurs first to calculate the height of the row. Then BeforeDrawRow occurs, followed by MeasurePreviewItem, then DrawItem. Finally, DrawPreviewItem occurs for each item in the row.
See Also
- SetCustomDraw Method
- DrawItem Event
- BeforeDrawRow Event
- MeasureRow Event
- DrawPreviewItem Event
- MeasurePreviewItem Event
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.