Class CardTappedEventArgs
Provides data for the CardTapped and CardTappedCommand event.
Inheritance
System.Object
CardTappedEventArgs
Namespace: Syncfusion.Maui.AIAssistView
Assembly: Syncfusion.Maui.AIAssistView.dll
Syntax
public class CardTappedEventArgs : EventArgs
Constructors
CardTappedEventArgs(Card, CardButton, AssistCardItem)
Initializes a new instance of the CardTappedEventArgs class.
Declaration
public CardTappedEventArgs(Card card, CardButton action, AssistCardItem cardItem)
Parameters
| Type | Name | Description |
|---|---|---|
| Card | card | Instance of Card item. |
| CardButton | action | Instance of CardButton class. |
| AssistCardItem | cardItem | Instance of AssistCardItem class. |
Properties
Action
Gets the selected action from the card.
Declaration
public CardButton Action { get; }
Property Value
| Type |
|---|
| CardButton |
Card
Gets the selected card from the
Declaration
public Card Card { get; }
Property Value
| Type |
|---|
| Card |
CardItem
Gets the current
Declaration
public AssistCardItem CardItem { get; }
Property Value
| Type |
|---|
| AssistCardItem |
Handled
Gets or sets a value indicating whether the event should be handled.
Declaration
public bool Handled { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | true, if event is handled , else false. Default value is true. If set to false the selected value will not be added to the AssistItems collection. |