Syncfusion.Grid.Windows
Members 


Syncfusion.Windows.Forms.Grid Namespace : GridDrawCellButtonEventArgs Class

GridDrawCellButtonEventArgs Class

Provides data about the cancelable DrawCellButton event.
Object Model
GridDrawCellButtonEventArgs ClassGridCellButton ClassGridStyleInfo Class
Syntax
'Declaration
 
Public NotInheritable Class GridDrawCellButtonEventArgs 
   Inherits Syncfusion.ComponentModel.SyncfusionCancelEventArgs
'Usage
 
Dim instance As GridDrawCellButtonEventArgs
public sealed class GridDrawCellButtonEventArgs : Syncfusion.ComponentModel.SyncfusionCancelEventArgs 
Remarks
GridDrawCellButtonEventArgs is a custom event argument class used by the DrawCellButton event to allow custom drawing of a cell button elements. Set the Cancel property true if you have drawn the cell button elements and do not want the grid to proceed with default drawing of the cell button elements.

The event will automatically be called for every button inside a cell.

You should handle this event if you want to provide your own drawing of the button. The difference to DrawCellButtonBackground event is that this event is called to draw the whole button, not just its background.

Be sure to set e.Cancel to True if you did your own drawing.

Inheritance Hierarchy

System.Object
   System.EventArgs
      System.ComponentModel.CancelEventArgs
         Syncfusion.ComponentModel.SyncfusionCancelEventArgs
            Syncfusion.Windows.Forms.Grid.GridDrawCellButtonEventArgs

AssemblyVersion

Syncfusion.Grid.Windows: 18.1460.0.42

See Also