Syncfusion.Grid.Windows


DrawCellFrameAppearance Event

Occurs for every cell before the grid draws the frame (sunken or raised) of a specified cell and after the cell's background was drawn.
Syntax
'Declaration
 
<DescriptionAttribute("Occurs for every cell that is being drawn before the grid draws the frame (sunken or raised).")>
<CategoryAttribute("Behavior")>
Public Event DrawCellFrameAppearance As GridDrawCellBackgroundEventHandler
'Usage
 
Dim instance As GridControlBase
Dim handler As GridDrawCellBackgroundEventHandler
 
AddHandler instance.DrawCellFrameAppearance, handler
[Description("Occurs for every cell that is being drawn before the grid draws the frame (sunken or raised).")]
[Category("Behavior")]
public event GridDrawCellBackgroundEventHandler DrawCellFrameAppearance
Event Data

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

PropertyDescription
(Inherited from System.ComponentModel.CancelEventArgs)
Gets the visible cell area excluding cell parts that are scrolled out of view.  
Gets Graphics context.  
Gets a value indicating whether this is a bannered cell.  
Gets a value indicating whether the graphics canvas already clips the drawing contents.  
Gets a value indicating whether colored background should be drawn or black and white (see GridProperties.BlackWhite.  
Gets the cell's range. Can be several rows or columns if cell is a covered, floated, merged, or bannered cell.  
Gets the style object associated with that cell.  
Gets Cell boundaries including borders and margins.  
Remarks
Set e.Cancel = True if you want to customize the drawing of the frame and do not want the grid with its default drawing for the cell's frame.

If you want to draw custom borders around a cell, be sure to reserve space for the extra area occupied by your borders. See GridStyleInfo.BorderMargins.

AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also