AskAssistantAIToolbarItem Class
In This Article
A toolbar item that allows user to process editor text according to a custom prompt.
Namespace: DevExpress.AIIntegration.Blazor.HtmlEditor
Assembly: DevExpress.AIIntegration.Blazor.HtmlEditor.v24.2.dll
NuGet Package: DevExpress.AIIntegration.Blazor.HtmlEditor
#Declaration
C#
public class AskAssistantAIToolbarItem :
BaseAIToolbarItem
#Remarks
Populate the DxHtmlEditor.AdditionalItems collection with the AskAssistantAIToolbarItem
object to add the Ask AI Assistant item to the editor toolbar. This item allows user to process editor text according to a custom prompt.
Razor
@using DevExpress.AIIntegration.Blazor.HtmlEditor
<DxHtmlEditor @bind-Markup="Value" >
<AdditionalSettings>
<SummarizeAIToolbarItem />
<ExplainAIToolbarItem />
<ProofreadAIToolbarItem />
<ExpandAIToolbarItem />
<ShortenAIToolbarItem />
<AskAssistantAIToolbarItem />
<ChangeStyleAIToolbarItem />
<ChangeToneAIToolbarItem />
<TranslateAIToolbarItem Languages="@("German, French, Chinese")" />
</AdditionalSettings>
</DxHtmlEditor>
#Inheritance
Object
ComponentBase
DevExpress.AIIntegration.Blazor.Internal.BasePopupItem
BaseAIToolbarItem
AskAssistantAIToolbarItem
See Also