menu

WinForms

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

    Show / Hide Table of Contents

    Class ListBarItemClickedEventArgs

    The class that represents the event arguments in the ListBarItem's Click event. event.

    Inheritance
    System.Object
    System.EventArgs
    ListBarItemClickedEventArgs
    Inherited Members
    System.EventArgs.Empty
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms.Tools.XPMenus
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class ListBarItemClickedEventArgs : EventArgs
    Remarks

    Note that the Click event handler will be called with a ListBarItemClickedEventArgs argument containing data pertaining to the child item that was clicked. Which means you should cast the regular EventArgs argument into a ListBarItemClickedEventArgs in your handler.

    Constructors

    ListBarItemClickedEventArgs(Int32)

    Creates a new instance of the ListBarItemClickedEventArgs class.

    Declaration
    public ListBarItemClickedEventArgs(int indexClicked)
    Parameters
    Type Name Description
    System.Int32 indexClicked

    An index into the corresponding ListBarItem's ChildCaptions list.

    Properties

    IndexClicked

    Returns an index into the ChildCaptions list, identifying the item that was clicked.

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