Syncfusion.Grid.Windows


DrawCellBackground Event

Occurs for every cell before the grid draws the background of a specified cell.
Syntax
'Declaration
 
<DescriptionAttribute("Occurs for every cell that is being drawn.")>
<CategoryAttribute("Behavior")>
Public Event DrawCellBackground As GridDrawCellBackgroundEventHandler
'Usage
 
Dim instance As GridControlBase
Dim handler As GridDrawCellBackgroundEventHandler
 
AddHandler instance.DrawCellBackground, handler
[Description("Occurs for every cell that is being drawn.")]
[Category("Behavior")]
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.

PropertyDescription
(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.  
Remarks
See GridDrawCellBackgroundEventArgs for more detailed discussion.
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also