DrawCellDisplayText Event (GridControlBase)

Occurs for every cell before the grid draws the display text for the specified cell.
<DescriptionAttribute("Occurs for every cell that is being drawn.")>
Public Event DrawCellDisplayText As GridDrawCellDisplayTextEventHandler
Dim instance As GridControlBase
Dim handler As GridDrawCellDisplayTextEventHandler
AddHandler instance.DrawCellDisplayText, handler
[Description("Occurs for every cell that is being drawn.")]
public event GridDrawCellDisplayTextEventHandler DrawCellDisplayText
Event Data

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

(Inherited from System.ComponentModel.CancelEventArgs)
Gets the clipping bounds  
Gets the column index  
Gets or sets the display text.  
Gets or sets points to the device context.  
Gets the row index  
Gets or sets a reference to the style object of the cell.  
Gets or sets the text rectangle. It is the cell rectangle without buttons, borders, or text margins.  
Gets or sets a value indicating whether to use TextRenderer for header rendering or use default graphics for renderering. set "True" to use TextRenderer, else default rendering will take place. TextRenderer can be used to avoid TextSpacing issue if you face any in the header text.  
See GridDrawCellDisplayTextEventArgs for more detailed discussion.

Syncfusion.Grid.Windows: 17.3460.0.14

See Also