menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ClickEventArgs<T> - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ClickEventArgs<T>

    A class that contains event arguments for click action.

    Inheritance
    System.Object
    ClickEventArgs<T>
    Namespace: Syncfusion.Blazor.Lists
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ClickEventArgs<T> : Object
    Type Parameters
    Name Description
    T

    TValue of the ListView component.

    Constructors

    ClickEventArgs()

    Declaration
    public ClickEventArgs()

    Properties

    Cancel

    Gets or sets a value indicating whether to prevent the current click action on the list item.

    Declaration
    public bool Cancel { get; set; }
    Property Value
    Type Description
    System.Boolean

    true, if the click must be cancelled. Otherwise, false.

    Index

    Gets the index position of clicked element.

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

    Accepts an integer value.

    IsChecked

    Gets or sets a value that indicates whether the element is checked or not.

    Declaration
    public bool IsChecked { get; set; }
    Property Value
    Type Description
    System.Boolean

    true, if the element is checked. Otherwise, false.

    IsInteracted

    Gets or sets whether the event is triggered by user interaction.

    Declaration
    public bool IsInteracted { get; set; }
    Property Value
    Type Description
    System.Boolean

    true, if the event was triggered by user interaction. Otherwise, false.

    ItemData

    Gets or sets the data source of the clicked item.

    Declaration
    public T ItemData { get; set; }
    Property Value
    Type Description
    T

    The data of the clicked item. The default value is null.

    Level

    Gets or sets the nesting level of the list items.

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

    Accepts an integer value.

    Name

    Gets the event name.

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

    Accepts the string value.

    Text

    Gets or sets the selected item text.

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

    Accepts the string value.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved