alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class ClickEventArgs<T>

    A class that contains event arguments for click action.

    Inheritance
    object
    ClickEventArgs<T>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.Lists
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ClickEventArgs<T>
    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
    [JsonPropertyName("cancel")]
    public bool Cancel { get; set; }
    Property Value
    Type Description
    bool

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

    Index

    Gets the index position of clicked element.

    Declaration
    [JsonPropertyName("index")]
    public int Index { get; set; }
    Property Value
    Type Description
    int

    Accepts an integer value.

    IsChecked

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

    Declaration
    [JsonPropertyName("isChecked")]
    public bool IsChecked { get; set; }
    Property Value
    Type Description
    bool

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

    IsInteracted

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

    Declaration
    [JsonPropertyName("isInteracted")]
    public bool IsInteracted { get; set; }
    Property Value
    Type Description
    bool

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

    ItemData

    Gets or sets the data source of the clicked item.

    Declaration
    [JsonPropertyName("itemData")]
    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
    int

    Accepts an integer value.

    Name

    Gets the event name.

    Declaration
    [Obsolete("This property is obsolete from 2023 volume 4 release", false)]
    public string Name { get; set; }
    Property Value
    Type Description
    string

    Accepts the string value.

    Text

    Gets or sets the selected item text.

    Declaration
    [JsonPropertyName("text")]
    public string Text { get; set; }
    Property Value
    Type Description
    string

    Accepts the string value.

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