Skip to content

BeforeDrawRow Event

Description

Occurs before each GridRecordItem is drawn in each GridRow.

Syntax

Public Event BeforeDrawRow( _
    ByVal Row As GridRow, _
    ByVal Item As GridRecordItem, _
    ByVal Metrics As GridRecordItemMetrics _
)

Parameters

Remarks

Note: By default, this event will not occur. The SetCustomDraw Method must be used to enable this event.

This event is executed for each GridRecordItem in the GridControl when the Redraw Method is called.

On mouse over, this event is triggered for the individual GridRecordItem that the mouse is currently over and will be called each time the mouse moves. Any time the GridControl needs to be redrawn, this event is triggered.

The Metrics parameter is used for dynamic metrics only. This object groups and stores the general drawing metrics of the Item parameter's GridRecordItem, such as the forecolor, backcolor, font, and text.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.