DrawCellBackground Event

Occurs for every cell before the grid draws the background of a specified cell.
<DescriptionAttribute("Occurs for every cell that is being drawn.")>
Public Event DrawCellBackground As GridDrawCellBackgroundEventHandler
Dim instance As GridControlBase
Dim handler As GridDrawCellBackgroundEventHandler
AddHandler instance.DrawCellBackground, handler
[Description("Occurs for every cell that is being drawn.")]
public event GridDrawCellBackgroundEventHandler DrawCellBackground
Event Data

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

(Inherited from System.ComponentModel.CancelEventArgs)
Gets the visible cell area excluding cell parts that are scrolled out of view.  
Gets Graphics context.  
Gets a value indicating whether this is a bannered cell.  
Gets a value indicating whether the graphics canvas already clips the drawing contents.  
Gets a value indicating whether colored background should be drawn or black and white (see GridProperties.BlackWhite.  
Gets the cell's range. Can be several rows or columns if cell is a covered, floated, merged, or bannered cell.  
Gets the style object associated with that cell.  
Gets Cell boundaries including borders and margins.  
See GridDrawCellBackgroundEventArgs for more detailed discussion.

Syncfusion.Grid.Windows: 17.3460.0.14

See Also