menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CellCheckBoxClickEventArgs - API Reference

    Show / Hide Table of Contents

    Class CellCheckBoxClickEventArgs

    Represents the class that provides the information about the state of the check box cell when check box is clicked.

    Inheritance
    System.Object
    GridCancelEventArgs
    CellCheckBoxClickEventArgs
    Inherited Members
    GridCancelEventArgs.OriginalSender
    Namespace: Syncfusion.WinForms.DataGrid.Events
    Assembly: Syncfusion.SfDataGrid.WinForms.dll
    Syntax
    public class CellCheckBoxClickEventArgs : GridCancelEventArgs

    Constructors

    CellCheckBoxClickEventArgs(CheckState, CheckState, Int32, Int32, GridColumn, Object, Object)

    Initializes a new instance of the CellCheckBoxClickEventArgs class.

    Declaration
    public CellCheckBoxClickEventArgs(CheckState oldState, CheckState newState, int rowIndex, int columnIndex, GridColumn column, object record, object originalSender)
    Parameters
    Type Name Description
    System.Windows.Forms.CheckState oldState

    The old state of the cell.

    System.Windows.Forms.CheckState newState

    The new state of the cell.

    System.Int32 rowIndex

    The row index of the cell.

    System.Int32 columnIndex

    The column index of the cell.

    GridColumn column

    The GridColumn of the cell.

    System.Object record

    The underlying record of the cell.

    System.Object originalSender

    The OriginalSender of the event.

    Properties

    Column

    Gets the GridColumn of the check box cell.

    Declaration
    public GridColumn Column { get; }
    Property Value
    Type Description
    GridColumn

    ColumnIndex

    Gets the column index of the check box cell.

    Declaration
    public int ColumnIndex { get; }
    Property Value
    Type Description
    System.Int32

    NewValue

    Gets or sets a value indicating the new state of the check box cell.

    Declaration
    public CheckState NewValue { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.CheckState

    OldValue

    Gets a value indicating the old state of the check box cell.

    Declaration
    public CheckState OldValue { get; }
    Property Value
    Type Description
    System.Windows.Forms.CheckState

    Record

    Gets the underlying data object of the check box cell.

    Declaration
    public object Record { get; }
    Property Value
    Type Description
    System.Object

    RowIndex

    Gets the row index of the check box cell.

    Declaration
    public int RowIndex { get; }
    Property Value
    Type Description
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved