Click or drag to resize
GridControlDrawTopLeftBottomRight Event
Draw Top, Left, Botton, Right event.

Namespace: Stingray.Grid
Assembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: [TAG_DECIMAL_VERSION]
Syntax
[BrowsableAttribute(true)]
public event DrawTopLeftBottomRightEventHandler DrawTopLeftBottomRight

Value

Type: Stingray.GridDrawTopLeftBottomRightEventHandler
Remarks
This event is invoked when a range of cells needs to be drawn. This event is invoked when the grid is drawn both to the screen and to a printer. The base class event handling executes these steps:
  • Compute grid (into an array with column positions and row positions in pixels).
  • Draw each cell with OnDrawItem.
  • Draw the grid lines.
  • Draw all covered cells with OnDrawItem.
  • Draw the borders of the cells.
  • Invert selected cells.
  • Highlight the frame of the current cell.
See Also