Class ItemRatingChangedEventArgs
Provides data for the ItemRatingChangedCommand.
Inheritance
System.Object
ItemRatingChangedEventArgs
Namespace: Syncfusion.Maui.AIAssistView
Assembly: Syncfusion.Maui.AIAssistView.dll
Syntax
public class ItemRatingChangedEventArgs : EventArgs
Constructors
ItemRatingChangedEventArgs(IAssistItem, Boolean)
Initializes a new instance of the ItemRatingChangedEventArgs class.
Declaration
public ItemRatingChangedEventArgs(IAssistItem responseItem, bool isLiked)
Parameters
Type | Name | Description |
---|---|---|
IAssistItem | responseItem | Instance of corresponding AssistItem class. |
System.Boolean | isLiked | Holds the value of IsLiked property. |
Properties
IsLiked
Gets a value indicating whether the IAssistItem is liked.
Declaration
public bool IsLiked { get; }
Property Value
Type |
---|
System.Boolean |
ResponseItem
Gets the IAssistItem whose rating has changed.
Declaration
public IAssistItem ResponseItem { get; }
Property Value
Type |
---|
IAssistItem |