Syncfusion.Grid.Windows
Members 


Syncfusion.Windows.Forms.Grid Namespace : GridDrawCurrentCellBorderEventArgs Class

GridDrawCurrentCellBorderEventArgs Class

Provides data about the DrawCurrentCellBorder event when the grid draws a border around the current cell.
Object Model
GridDrawCurrentCellBorderEventArgs ClassGridStyleInfo Class
Syntax
'Declaration
 
Public NotInheritable Class GridDrawCurrentCellBorderEventArgs 
   Inherits GridCellCancelEventArgs
'Usage
 
Dim instance As GridDrawCurrentCellBorderEventArgs
public sealed class GridDrawCurrentCellBorderEventArgs : GridCellCancelEventArgs 
Remarks
By default, the grid will draw a black rectangle around the current cell. If the grid does not have focus, GridFocused is False and the grid will draw a dashed border.

If you handle this event and implement your own drawing for the current cell border, you should set System.ComponentModel.CancelEventArgs.Cancel to True.

Inheritance Hierarchy

System.Object
   System.EventArgs
      System.ComponentModel.CancelEventArgs
         Syncfusion.ComponentModel.SyncfusionCancelEventArgs
            Syncfusion.Windows.Forms.Grid.GridCellCancelEventArgs
               Syncfusion.Windows.Forms.Grid.GridDrawCurrentCellBorderEventArgs

AssemblyVersion

Syncfusion.Grid.Windows: 17.2460.0.34

See Also