Syncfusion.Grid.Windows


DrawCellButton Event

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

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

PropertyDescription
Gets the GridCellButton to be drawn.  
(Inherited from System.ComponentModel.CancelEventArgs)
Gets the column index.  
Gets the System.Drawing.Graphics context of the canvas.  
Gets a value indicating whether to active current cell. True if this is the active current cell; False otherwise.  
Gets the row index.  
Gets the GridStyleInfo object that holds cell information.  
Remarks
See GridDrawCellButtonEventArgs for more detailed discussion. See GridDrawCellButtonBackgroundEventArgs for an example.
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.14

See Also