Class PivotGridTotalValueCellRenderer
Provides methods used to render the total value cell.
Inheritance
Inherited Members
Namespace: Syncfusion.Windows.Forms.PivotAnalysis
Assembly: Syncfusion.PivotAnalysis.Windows.dll
Syntax
public class PivotGridTotalValueCellRenderer : GridTextBoxCellRenderer, IQueryFocusInside, IGridDropDownCell, IPopupParent, IPopupItem, IDisposable
Remarks
See PivotGridTotalValueCellRenderer for more detailed information about this cell type.
Constructors
PivotGridTotalValueCellRenderer(GridControlBase, GridCellModelBase)
Initializes a new instance of the PivotGridTotalValueCellRenderer class with the specified GridControlBase and GridCellModelBase.
Declaration
public PivotGridTotalValueCellRenderer(GridControlBase grid, GridCellModelBase cellModel)
Parameters
Type | Name | Description |
---|---|---|
GridControlBase | grid | The instance of GridControlBase class. |
GridCellModelBase | cellModel | The instance of GridCellModelBase class. |
Methods
DrawBackground(Graphics, Rectangle, GridStyleInfo, Boolean)
Triggered when the background of the grid is drawn.
Declaration
protected override void DrawBackground(Graphics g, Rectangle rect, GridStyleInfo style, bool fillBackground)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | GDI+ surfaces. |
System.Drawing.Rectangle | rect | Represents the rectangle points |
GridStyleInfo | style | Stores the information about cell. |
System.Boolean | fillBackground | Represents the boolean value. |
Overrides
OnClick(Int32, Int32, MouseEventArgs)
Triggered when the renderer is clicked.
Declaration
protected override void OnClick(int rowIndex, int colIndex, MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | Row index. |
System.Int32 | colIndex | Column index. |
System.Windows.Forms.MouseEventArgs | e | The System.Windows.Forms.MouseEventArgs that contains the event data. |
Overrides
OnDrawCellBackground(GridDrawCellBackgroundEventArgs)
Triggered when the background of the cell is drawn.
Declaration
protected override void OnDrawCellBackground(GridDrawCellBackgroundEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
GridDrawCellBackgroundEventArgs | e | The GridDrawCellBackgroundEventArgs that contains the event data. |
Overrides
OnOutlineCurrentCell(Graphics, Rectangle)
Triggered when the outline of the cell is rendered.
Declaration
protected override void OnOutlineCurrentCell(Graphics g, Rectangle r)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | GDI+ surfaces. |
System.Drawing.Rectangle | r | Represents the rectangle points |