Class GridInCellRenderer
Implements a renderer for GridInCell cell type.
Inheritance
System.Object
GridInCellRenderer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Syncfusion.GridHelperClasses
Assembly: Syncfusion.GridHelperClasses.Windows.dll
Syntax
public class GridInCellRenderer : GridGenericControlCellRenderer, IQueryFocusInside, IGridDropDownCell, IPopupParent, IPopupItem, IDisposable
Constructors
GridInCellRenderer(GridControlBase, GridCellModelBase)
Initializes a new instance of the GridInCellRenderer class.
Declaration
public GridInCellRenderer(GridControlBase grid, GridCellModelBase cellModel)
Parameters
Type | Name | Description |
---|---|---|
GridControlBase | grid | The grid control. |
GridCellModelBase | cellModel | The cell model. |
Methods
OnDraw(Graphics, Rectangle, Int32, Int32, GridStyleInfo)
Draws the content of the cell.
Declaration
protected override void OnDraw(Graphics g, Rectangle clientRectangle, int rowIndex, int colIndex, GridStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | Graphics context. |
System.Drawing.Rectangle | clientRectangle | Cell rectangle. |
System.Int32 | rowIndex | Row index. |
System.Int32 | colIndex | Column index. |
GridStyleInfo | style | Cell style information. |
Overrides
ProcessKeyEventArgs(ref Message)
Processes the keyboard or input messages within the message loop before they are dispatched.
Declaration
protected override bool ProcessKeyEventArgs(ref Message m)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Message | m | The Message. |
Returns
Type | Description |
---|---|
System.Boolean | True if they are preprocessed. |
Overrides
Implements
System.IDisposable