Back to Devexpress

ExpandAIToolbarItem Class

blazor-devexpress-dot-aiintegration-dot-blazor-dot-htmleditor-1cd7566b.md

latest2.6 KB
Original Source

ExpandAIToolbarItem Class

A toolbar item that expands the editor text.

Namespace : DevExpress.AIIntegration.Blazor.HtmlEditor

Assembly : DevExpress.AIIntegration.Blazor.HtmlEditor.v25.2.dll

NuGet Package : DevExpress.AIIntegration.Blazor.HtmlEditor

Declaration

csharp
public class ExpandAIToolbarItem :
    BaseAIToolbarItem

Remarks

Populate the DxHtmlEditor.Extensions collection with the ExpandAIToolbarItem object to add the Expand Text item to the editor toolbar. This item enriches editor text with additional information or in-depth explanations.

Read Tutorial: Get Started with AI-powered Extension for Blazor HTML Editor

View Example: Rich Text Editor and HTML Editor for Blazor - How to integrate AI-powered extensions

razor
@using DevExpress.AIIntegration.Blazor.HtmlEditor

<DxHtmlEditor @bind-Markup="Value" >
    <Extensions>
        <SummarizeAIToolbarItem />
        <ExplainAIToolbarItem />
        <ProofreadAIToolbarItem />
        <ExpandAIToolbarItem />
        <ShortenAIToolbarItem />
        <AskAssistantAIToolbarItem />
        <ChangeStyleAIToolbarItem />
        <ChangeToneAIToolbarItem />
        <TranslateAIToolbarItem Languages="@("German, French, Chinese")" />
    </Extensions>
</DxHtmlEditor>

Implements

IComponent

IHandleEvent

IHandleAfterRender

Inheritance

Object ComponentBase DevExpress.AIIntegration.Blazor.Internal.BasePopupItem BaseAIToolbarItem ExpandAIToolbarItem

See Also

ExpandAIToolbarItem Members

DevExpress.AIIntegration.Blazor.HtmlEditor Namespace