Syncfusion.Grid.Windows


DrawCellButtonBackground Event

Occurs for every button in every cell before the grid draws the background of a cell button.
Syntax
'Declaration
 
<CategoryAttribute("Behavior")>
<DescriptionAttribute("Occurs for every cell that is being drawn.")>
Public Event DrawCellButtonBackground As GridDrawCellButtonBackgroundEventHandler
'Usage
 
Dim instance As GridControlBase
Dim handler As GridDrawCellButtonBackgroundEventHandler
 
AddHandler instance.DrawCellButtonBackground, handler
[Category("Behavior")]
[Description("Occurs for every cell that is being drawn.")]
public event GridDrawCellButtonBackgroundEventHandler DrawCellButtonBackground
Event Data

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

PropertyDescription
Gets the System.Drawing.Rectangle with the bounds.  
Gets the GridCellButton to be drawn.  
Gets a ButtonState that specifies the current state.  
(Inherited from System.ComponentModel.CancelEventArgs)
Gets the System.Drawing.Graphics context of the canvas.  
Gets the GridStyleInfo object that holds cell information.  
Remarks
See GridDrawCellButtonBackgroundEventArgs for more detailed discussion and also an example.
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.14

See Also