menu

WinForms

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

    Show / Hide Table of Contents

    Class GridGroupingControl.DataSourceChangingEventArgs

    Defines the class that provides data for cancelable events.

    Inheritance
    System.Object
    GridGroupingControl.DataSourceChangingEventArgs
    Namespace: Syncfusion.Windows.Forms.Grid.Grouping
    Assembly: Syncfusion.Grid.Grouping.Windows.dll
    Syntax
    public class DataSourceChangingEventArgs : CancelEventArgs

    Constructors

    DataSourceChangingEventArgs()

    Initializes a new instance of the GridGroupingControl.DataSourceChangingEventArgs class.

    Declaration
    public DataSourceChangingEventArgs()

    DataSourceChangingEventArgs(Boolean)

    Initializes a new instance of the GridGroupingControl.DataSourceChangingEventArgs class specified to cancel the event or not.

    Declaration
    public DataSourceChangingEventArgs(bool bCancel)
    Parameters
    Type Name Description
    System.Boolean bCancel

    True, cancel the event; Otherwise False.

    DataSourceChangingEventArgs(Boolean, Object)

    Initializes a new instance of the GridGroupingControl.DataSourceChangingEventArgs class specified to cancel an event and the datasource of the grid.

    Declaration
    public DataSourceChangingEventArgs(bool bCancel, object dataSource)
    Parameters
    Type Name Description
    System.Boolean bCancel

    True, cancel the event; Otherwise False.

    System.Object dataSource

    The datasource of the grid.

    DataSourceChangingEventArgs(Object)

    Initializes a new instance of the GridGroupingControl.DataSourceChangingEventArgs class specified with the data source.

    Declaration
    public DataSourceChangingEventArgs(object dataSource)
    Parameters
    Type Name Description
    System.Object dataSource

    The data source associated with the grid.

    Properties

    DataSource

    Gets the DataSource

    Declaration
    public object DataSource { get; }
    Property Value
    Type
    System.Object
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved