Class GroupBar
Represents a group bar control that groups pivot items added to PivotGridControl.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.PivotAnalysis
Assembly: Syncfusion.PivotAnalysis.Windows.dll
Syntax
public class GroupBar : GridControl, IDisposable, ICancelModeProvider, ISplitterPaneSupport, IScrollBarWrapperContainer, ISupportUpdating, ISupportIntelliMouse, IQueryFocusInside, INonClientPaintingSupport, IThemedControl, ICreateNewWindow, IGridModelSource, IGridWindowlessSite, IGridWindowlessObject, IFindParentForm, IThemeProvider, ISupportInitialize, IVisualStyle
Constructors
GroupBar()
Initializes a new instance of the GroupBar class.
Declaration
public GroupBar()
GroupBar(PivotGridControlBase)
Initializes a new instance of the GroupBar class with the specified PivotGridControlBase.
Declaration
public GroupBar(PivotGridControlBase tableControl)
Parameters
Type | Name | Description |
---|---|---|
PivotGridControlBase | tableControl | The PivotGridControlBase that holds the GroupBar control. |
Properties
GridControl
Gets the value of parent control.
Declaration
public PivotGridControl GridControl { get; }
Property Value
Type |
---|
PivotGridControl |
Methods
ColIndexToField(Int32)
Gets the field index value for a given column index.
Declaration
public int ColIndexToField(int colIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | colIndex | The column index. |
Returns
Type | Description |
---|---|
System.Int32 | The field index. |
Invalidate()
Invalidates the entire surface of the control and causes the control to be redrawn.
Declaration
public override void Invalidate()
Overrides
OnDrawCellDisplayText(GridDrawCellDisplayTextEventArgs)
Overrides and triggered when the cell is drawn to display the text.
Declaration
protected override void OnDrawCellDisplayText(GridDrawCellDisplayTextEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
GridDrawCellDisplayTextEventArgs | e | The GridDrawCellDisplayTextEventArgs that contains the event data. |
Overrides
OnMouseDown(MouseEventArgs)
Overrides and triggered when the mouse down event is done.
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.MouseEventArgs | e | The System.Windows.Forms.MouseEventArgs that contains the event data. |
Overrides
OnMouseMove(MouseEventArgs)
Overrides and triggered when the mouse move event in the grid is performed.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.MouseEventArgs | e | The System.Windows.Forms.MouseEventArgs that contains the event data. |
Overrides
OnMouseUp(MouseEventArgs)
Overrides and triggered when the mouse up event is performed in the grid.
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.MouseEventArgs | e | The System.Windows.Forms.MouseEventArgs that contains the event data. |
Overrides
OnQueryCellInfo(GridQueryCellInfoEventArgs)
Overrides and triggered when the changes occurred in formating.
Declaration
protected override void OnQueryCellInfo(GridQueryCellInfoEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
GridQueryCellInfoEventArgs | e | The GridQueryCellInfoEventArgs that contains the event data. |
Overrides
OnQueryRowHeight(GridRowColSizeEventArgs)
Overrides and triggered when the row height is changed.
Declaration
protected override void OnQueryRowHeight(GridRowColSizeEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
GridRowColSizeEventArgs | e | The GridRowColSizeEventArgs that contains the event data. |