Class PromptToolbar
Inherited Members
Namespace: Syncfusion.Blazor.InteractiveChat
Assembly: Syncfusion.Blazor.dll
Syntax
public class PromptToolbar : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
PromptToolbar()
Declaration
public PromptToolbar()
Properties
ItemClicked
Event is raised when click the toolbar item of prompt in the SfAIAssistView component.
Declaration
[Parameter]
public EventCallback<AssistViewToolbarItemClickedEventArgs> ItemClicked { get; set; }
Property Value
| Type |
|---|
| EventCallback<AssistViewToolbarItemClickedEventArgs> |
Remarks
This event is triggered when click the toolbar item of prompt in the SfAIAssistView component.
Width
Gets or sets the width of the prompt toolbar in the SfAIAssistView component.
Declaration
[Parameter]
public string Width { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A string representing the width of the prompt toolbar. The default value is |
Remarks
Use this property to specify the width of the toolbar in the prompt item of the SfAIAssistView component.
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderTreeBuilder | __builder |
Overrides
Dispose(bool)
Dispose unmanaged resources in the Syncfusion Blazor component.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing | Boolean value to dispose the object. |
Overrides
OnInitializedAsync()
Method invoked when the component is ready to start.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type | Description |
|---|---|
| Task | A System.Threading.Tasks.Task representing any asynchronous operation. |