DrawCellButton Event

Occurs for every button in every cell before the grid draws a cell button.
<DescriptionAttribute("Occurs for every cell that is being drawn.")>
Public Event DrawCellButton As GridDrawCellButtonEventHandler
Dim instance As GridControlBase
Dim handler As GridDrawCellButtonEventHandler
AddHandler instance.DrawCellButton, handler
[Description("Occurs for every cell that is being drawn.")]
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.

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.  
See GridDrawCellButtonEventArgs for more detailed discussion. See GridDrawCellButtonBackgroundEventArgs for an example.

Syncfusion.Grid.Windows: 18.1460.0.42

See Also