Back to Devexpress

ChangeToneAIToolbarItem Class

blazor-devexpress-dot-aiintegration-dot-blazor-dot-htmleditor-4369ac5d.md

latest2.6 KB
Original Source

ChangeToneAIToolbarItem Class

A toolbar item that rewrites the editor text using a specified tone.

Namespace : DevExpress.AIIntegration.Blazor.HtmlEditor

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

NuGet Package : DevExpress.AIIntegration.Blazor.HtmlEditor

Declaration

csharp
public class ChangeToneAIToolbarItem :
    BaseAIToolbarItem

Remarks

Populate the DxHtmlEditor.Extensions collection with the ChangeToneAIToolbarItem object to add the Change Tone item to the editor toolbar. This item adjusts the tone of the text to meet audience or context requirements.

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 ChangeToneAIToolbarItem

See Also

ChangeToneAIToolbarItem Members

DevExpress.AIIntegration.Blazor.HtmlEditor Namespace