menu

WinForms

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

    Show / Hide Table of Contents

    Class ItemCheckingEventArgs

    Provides data about the ItemChecking event.

    Inheritance
    System.Object
    ItemCheckingEventArgs
    Namespace: Syncfusion.WinForms.ListView.Events
    Assembly: Syncfusion.SfListView.WinForms.dll
    Syntax
    public class ItemCheckingEventArgs : CancelEventArgs

    Constructors

    ItemCheckingEventArgs(Object, Int32, CheckState, CheckState)

    Initializes a new instance of the ItemCheckingEventArgs class.

    Declaration
    public ItemCheckingEventArgs(object itemData, int itemIndex, CheckState oldState, CheckState newState)
    Parameters
    Type Name Description
    System.Object itemData

    itemdata of item

    System.Int32 itemIndex

    itemindex of item

    System.Windows.Forms.CheckState oldState

    old checkedstate of item

    System.Windows.Forms.CheckState newState

    new checkedstate of item

    Properties

    ItemData

    Gets the underlying data of an item.

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

    ItemIndex

    Gets an index of an item.

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

    NewState

    Gets the new check state for an item.

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

    OldState

    Gets an old check state of an item.

    Declaration
    public CheckState OldState { get; }
    Property Value
    Type
    System.Windows.Forms.CheckState
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved