Objective Grid for Microsoft® .NET® Reference Guide

GridControl.DrawGridItem Event

Back to Class Index

Draw Grid Item Event.     

[Visual Basic]
Public Event DrawGridItem As DrawGridItemEventHandler
[C#]
public event DrawGridItemEventHandler DrawGridItem;

Event Data

The event handler receives an argument of type DrawGridItemEventArgs containing data related to this event. The following DrawGridItemEventArgs properties provide information specific to this event.

PropertyDescription
ColGets or sets the column coordinate of the cell being drawn.     
GraphicsGets a Graphics object that can draw the item.     
RowGets or sets the row coordinate of the cell being drawn.     
StyleGets the style of the cell being drawn.     
WindowRectGets or sets the bounding rectangle of the cell being drawn.     

See Also

GridControl Class | GridControl Members | Stingray.Grid Namespace