Class PivotGridTemplateCellRenderer
Provides methods used to render the template cell.
Inheritance
System.Object
PivotGridTemplateCellRenderer
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.Windows.Forms.PivotAnalysis
Assembly: Syncfusion.PivotAnalysis.Windows.dll
Syntax
public class PivotGridTemplateCellRenderer : GridHeaderCellRenderer, IQueryFocusInside, IGridDropDownCell, IPopupParent, IPopupItem, IDisposable
Constructors
PivotGridTemplateCellRenderer(GridControlBase, GridCellModelBase)
Initializes a new instance of the PivotGridTemplateCellRenderer class with the specified GridControlBase and GridCellModelBase.
Declaration
public PivotGridTemplateCellRenderer(GridControlBase grid, GridCellModelBase cellModel)
Parameters
Type | Name | Description |
---|---|---|
GridControlBase | grid | The instance of GridControlBase class. |
GridCellModelBase | cellModel | The instance of GridCellModelBase class. |
Methods
OnDraw(Graphics, Rectangle, Int32, Int32, GridStyleInfo)
Draws the contents of the client bounds for the cell, e.g. the text for a static cell.
Declaration
protected override void OnDraw(Graphics graphics, Rectangle clientRectangle, int rowIndex, int colIndex, GridStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | graphics | Points to the device context. |
System.Drawing.Rectangle | clientRectangle | Specifies the client rectangle without buttons and borders. |
System.Int32 | rowIndex | The row index of the current cell. |
System.Int32 | colIndex | The column index of the current cell. |
GridStyleInfo | style | The GridStyleInfo object that holds the style information for the cell. |
Overrides
Implements
System.IDisposable