Class PivotGridColumnHeaderCellRenderer
Provides methods used to render the header cell with sort indicator.
Inheritance
Inherited Members
Namespace: Syncfusion.Windows.Forms.PivotAnalysis
Assembly: Syncfusion.PivotAnalysis.Windows.dll
Syntax
public class PivotGridColumnHeaderCellRenderer : PivotGridHeaderCellRenderer, IQueryFocusInside, IGridDropDownCell, IPopupParent, IPopupItem, IDisposable
Constructors
PivotGridColumnHeaderCellRenderer(GridControlBase, GridCellModelBase)
Initializes a new instance of the PivotGridColumnHeaderCellRenderer class with the specified GridCellModelBase and GridControlBase.
Declaration
public PivotGridColumnHeaderCellRenderer(GridControlBase grid, GridCellModelBase cellModel)
Parameters
Type | Name | Description |
---|---|---|
GridControlBase | grid | The instance of GridControlBase class that displays this cell renderer. |
GridCellModelBase | cellModel | The instance of GridCellModelBase class that holds data for this cell renderer that should be shared among views. |
Remarks
References to the GridControlBase and GridCellModelBase instances will be saved.
Methods
OnClick(Int32, Int32, MouseEventArgs)
Overrides and raises the OnClick event.
Declaration
protected override void OnClick(int rowIndex, int colIndex, MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | The row index. |
System.Int32 | colIndex | The column index. |
System.Windows.Forms.MouseEventArgs | e | The System.Windows.Forms.MouseEventArgs that contains the event data. |
Overrides
OnDrawDisplayText(Graphics, Rectangle, Int32, Int32, GridStyleInfo)
Overrides and draws the Display text.
Declaration
protected override void OnDrawDisplayText(Graphics g, Rectangle textRectangle, int rowIndex, int colIndex, GridStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | The graphics object. |
System.Drawing.Rectangle | textRectangle | The rectangle bounds of the display text. |
System.Int32 | rowIndex | The Row index. |
System.Int32 | colIndex | The Column index. |
GridStyleInfo | style | The Style object that holds the values of the style properties. |