Click or drag to resize
DrawGridItemEventArgs Class
Supplies data for the DrawGridItem event of the GridControl class.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    Stingray.GridDrawGridItemEventArgs

Namespace: Stingray.Grid
Assembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: [TAG_DECIMAL_VERSION]
Syntax
public class DrawGridItemEventArgs : EventArgs

The DrawGridItemEventArgs type exposes the following members.

Constructors
  NameDescription
Public methodDrawGridItemEventArgs
Initializes a new DeleteCellEventArgs object at a given location.
Top
Properties
  NameDescription
Public propertyCol
Gets or sets the column index of the cell being drawn.
Public propertyGraphics
Gets or sets the Graphics object that draws the item.
Public propertyRow
Gets or sets the row index of the cell being drawn.
Public propertyStyle
Gets or sets the style of the cell being drawn.
Public propertyWindowRect
Gets or sets the bounding rectangle of the cell being drawn.
Top
Remarks
These event arguments are supplied to any overridden DrawGridItem event handler, as well as to any delegates attached to the DrawGridItem event.
The DrawGridItem event is invoked as each cell in the grid is drawn. This class supplies the row and column cell coordinates of the cell being drawn, as well as the bounding rectangle in which the item is to be drawn.
See Also