Class ClickEventArgs<T>
A class that contains event arguments for click action.
Inheritance
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 |
|
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 |
|
IsInteracted
Gets or sets whether the event is triggered by user interaction.
Declaration
public bool IsInteracted { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
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 |
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. |