menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GroupPanel - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GroupPanel

    Represents the panel for drawing the GroupDropItem.

    Inheritance
    System.Object
    BaseControl
    SfScrollControl
    GroupPanel
    Implements
    IThemeProvider
    IVisualStyle
    System.IDisposable
    ISupportUpdate
    Inherited Members
    BaseControl.CanApplyTheme
    BaseControl.CanOverrideStyle
    BaseControl.ControlName
    BaseControl.GetActiveThemeName()
    BaseControl.IsVisualStyleEnabled
    BaseControl.IThemeProvider.BaseThemeName
    BaseControl.IVisualStyle.VisualTheme
    BaseControl.OnCanApplyThemeChanged(Boolean)
    BaseControl.OnCanOverrideStyleChanged(Boolean)
    BaseControl.ThemeName
    BaseControl.ThemeNameChanged
    SfScrollControl.AccessibilityEnabled
    SfScrollControl.AllowAutoScroll
    SfScrollControl.AllowReaderModeScrolling
    SfScrollControl.AutoScrollBounds
    SfScrollControl.AutoScrollInterval
    SfScrollControl.AutoScrollMargin
    SfScrollControl.AutoScrollMode
    SfScrollControl.BeginAutoScroll
    SfScrollControl.BeginUpdate()
    SfScrollControl.ClientRectangle
    SfScrollControl.ClientSize
    SfScrollControl.CreateAccessibilityInstance()
    SfScrollControl.CreateParams
    SfScrollControl.EndAutoScroll
    SfScrollControl.EndUpdate()
    SfScrollControl.GetControlName(String)
    SfScrollControl.HorizontalScroll
    SfScrollControl.HorizontalScrollBarVisible
    SfScrollControl.HorizontalScrollIncrement
    SfScrollControl.IsUpdating
    SfScrollControl.OnBeginAutoScroll(BeginAutoScrollEventArgs)
    SfScrollControl.OnControlAdded(ControlEventArgs)
    SfScrollControl.OnControlGotFocus()
    SfScrollControl.OnControlLostFocus()
    SfScrollControl.OnControlRemoved(ControlEventArgs)
    SfScrollControl.OnDragOver(DragEventArgs)
    SfScrollControl.OnEndAutoScroll(EventArgs)
    SfScrollControl.OnEnter(EventArgs)
    SfScrollControl.OnGotFocus(EventArgs)
    SfScrollControl.OnHandleCreated(EventArgs)
    SfScrollControl.OnHorizontalScrollBarValueChanged()
    SfScrollControl.OnInvalidated(InvalidateEventArgs)
    SfScrollControl.OnLeave(EventArgs)
    SfScrollControl.OnLocationChanged(EventArgs)
    SfScrollControl.OnLostFocus(EventArgs)
    SfScrollControl.OnMouseHover(EventArgs)
    SfScrollControl.OnMouseLeave(EventArgs)
    SfScrollControl.OnMouseWheel(MouseEventArgs)
    SfScrollControl.OnParentChanged(EventArgs)
    SfScrollControl.OnRightToLeftChanged(EventArgs)
    SfScrollControl.OnSetCursor(Message)
    SfScrollControl.OnThemeNameChanged(String)
    SfScrollControl.OnValidated(EventArgs)
    SfScrollControl.OnValidating(CancelEventArgs)
    SfScrollControl.OnVerticalScroll(ScrollEventArgs)
    SfScrollControl.OnVerticalScrollBarValueChanged()
    SfScrollControl.OnVisibleChanged(EventArgs)
    SfScrollControl.OnWindowScrolled(ScrollWindowEventArgs)
    SfScrollControl.OnWindowScrolling(ScrollWindowEventArgs)
    SfScrollControl.RaiseThemeChanged(Object, ThemeChangedEventArgs)
    SfScrollControl.Scroll
    SfScrollControl.ScrollWindow(Int32, Int32, Rectangle, Rectangle, Boolean)
    SfScrollControl.ScrollWindowInvalidate(Rectangle)
    SfScrollControl.StartAutoScrollTimer(Message)
    SfScrollControl.StartAutoScrollTimer(Message, TimeSpan)
    SfScrollControl.Style
    SfScrollControl.ThemeChanged
    SfScrollControl.VerticalScroll
    SfScrollControl.VerticalScrollBarVisible
    SfScrollControl.VerticalScrollIncrement
    SfScrollControl.WindowScrolled
    SfScrollControl.WindowScrolling
    Namespace: Syncfusion.WinForms.DataGrid
    Assembly: Syncfusion.SfDataGrid.WinForms.dll
    Syntax
    public class GroupPanel : SfScrollControl, IThemeProvider, IVisualStyle, IDisposable, ISupportUpdate

    Constructors

    GroupPanel(SfDataGrid)

    Initializes a new instance of the GroupPanel class.

    Declaration
    public GroupPanel(SfDataGrid dataGrid)
    Parameters
    Type Name Description
    SfDataGrid dataGrid

    The SfDataGrid that needs to show the GroupPanel.

    Properties

    GroupDropAreaText

    Gets or sets the string that is used to displayed on the GroupDropArea in SFDataGrid.

    Declaration
    public string GroupDropAreaText { get; set; }
    Property Value
    Type Description
    System.String

    The string that is used to displayed on the GroupDropArea.

    RightToLeft

    Gets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts.

    Declaration
    public override RightToLeft RightToLeft { get; set; }
    Property Value
    Type
    System.Windows.Forms.RightToLeft

    Methods

    Dispose(Boolean)

    Disposes of the resource used by the GroupPanel.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    Indicates the call is from Dispose method.

    Overrides
    SfScrollControl.Dispose(Boolean)

    OnHorizontalScroll(ScrollEventArgs)

    Overridden to update the scroll values of the HorizontalScrollBar while scrolling.

    Declaration
    protected override void OnHorizontalScroll(ScrollEventArgs se)
    Parameters
    Type Name Description
    System.Windows.Forms.ScrollEventArgs se

    The System.Windows.Forms.ScrollEventArgs that contains event data.

    Overrides
    SfScrollControl.OnHorizontalScroll(ScrollEventArgs)

    OnMarginChanged(EventArgs)

    Occur when margin value is changed.

    Declaration
    protected override void OnMarginChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    The System.EventArgs that contains the event data.

    OnMouseClick(MouseEventArgs)

    Overridden to handle the mouse click on the group drop items.

    Declaration
    protected override void OnMouseClick(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs e

    The System.Windows.Forms.MouseEventArgs that contains the event data.

    OnMouseDown(MouseEventArgs)

    Overridden to handle the dragging of the group drop items.

    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
    SfScrollControl.OnMouseDown(MouseEventArgs)

    OnMouseMove(MouseEventArgs)

    Overridden to handle the mouse moves on the GroupPanel.

    Declaration
    protected override void OnMouseMove(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs e

    The System.Windows.Forms.MouseEventArgs that contains event data.

    Overrides
    SfScrollControl.OnMouseMove(MouseEventArgs)

    OnMouseUp(MouseEventArgs)

    Overridden to handle the moving and adding of the GroupPanel items using the drag and drop.

    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
    SfScrollControl.OnMouseUp(MouseEventArgs)

    OnPaint(PaintEventArgs)

    Overridden to draw the GroupPanel customization.

    Declaration
    protected override void OnPaint(PaintEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs e

    The System.Windows.Forms.PaintEventArgs that contains event data.

    OnSizeChanged(EventArgs)

    Overridden to update the group drop panel when the Size is changed.

    Declaration
    protected override void OnSizeChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    The System.EventArgs that contains the event data.

    Overrides
    SfScrollControl.OnSizeChanged(EventArgs)

    OnTouchPan(Point, Boolean)

    Overridden to update the old scroll values on panning.

    Declaration
    protected override bool OnTouchPan(Point currentTouchPoint, bool isSwipeScroll)
    Parameters
    Type Name Description
    System.Drawing.Point currentTouchPoint

    The current touch position.

    System.Boolean isSwipeScroll

    Indicates whether to perform swipe or pan operation.

    Returns
    Type Description
    System.Boolean

    Returns false when the panning is started over the frozen rows, otherwise returns true.

    Overrides
    SfScrollControl.OnTouchPan(Point, Boolean)

    OnTouchPanBegin(Point)

    Overridden to check whether the touch start position begins with the Frozen rows or not.

    Declaration
    protected override bool OnTouchPanBegin(Point touchBeginPoint)
    Parameters
    Type Name Description
    System.Drawing.Point touchBeginPoint

    The touch position when panning operation is start.

    Returns
    Type Description
    System.Boolean

    Return false when the start positions is contains the frozen rows, otherwise return true.

    Overrides
    SfScrollControl.OnTouchPanBegin(Point)

    OnTouchPanEnd(Point)

    Overridden to raise the MouseUp event when the dragging is performed on the frozen rows.

    Declaration
    protected override bool OnTouchPanEnd(Point touchEndPoint)
    Parameters
    Type Name Description
    System.Drawing.Point touchEndPoint

    The touch position when panning operation is start.

    Returns
    Type Description
    System.Boolean

    Return false when the start positions is contains the frozen rows, otherwise return true.

    Overrides
    SfScrollControl.OnTouchPanEnd(Point)

    ShouldSerializeGroupDropAreaText()

    Determines whether GroupDropAreaText has been modified and its contents should be serialized at design-time.

    Declaration
    public bool ShouldSerializeGroupDropAreaText()
    Returns
    Type Description
    System.Boolean

    True if contents were changed; False otherwise.

    UpdateScrollBars()

    Updates the Scrollbars when performs the row or column manipulation(Insert, delete, hide, adjust size, etc.).

    Declaration
    public override void UpdateScrollBars()
    Overrides
    SfScrollControl.UpdateScrollBars()

    WndProc(ref Message)

    Processes Windows messages.

    Declaration
    protected override void WndProc(ref Message m)
    Parameters
    Type Name Description
    System.Windows.Forms.Message m

    The Windows System.Windows.Forms.Message to process.

    Overrides
    SfScrollControl.WndProc(ref Message)

    Implements

    IThemeProvider
    IVisualStyle
    System.IDisposable
    ISupportUpdate
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved