Class RequestEventArgs
Provides data for the Request event.
Inheritance
System.Object
RequestEventArgs
Namespace: Syncfusion.Maui.AIAssistView
Assembly: Syncfusion.Maui.AIAssistView.dll
Syntax
public class RequestEventArgs : EventArgs
Constructors
RequestEventArgs(IAssistItem)
Initializes a new instance of the RequestEventArgs class.
Declaration
public RequestEventArgs(IAssistItem requestItem)
Parameters
Type | Name | Description |
---|---|---|
IAssistItem | requestItem | Instance of IAssistItem class. |
Properties
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 and, else false. Default value is true. If set to false the request sent by the user will not be added to the AssistItems collection. |
RequestItem
Gets the request AssistItem associated with the event.
Declaration
public IAssistItem RequestItem { get; }
Property Value
Type |
---|
IAssistItem |