Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ChangeStyleAIToolbarItem Class

A toolbar item that rewrites text using a specified style.

Namespace: DevExpress.AIIntegration.Blazor.HtmlEditor

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

NuGet Package: DevExpress.AIIntegration.Blazor.HtmlEditor

#Declaration

C#
public class ChangeStyleAIToolbarItem :
    BaseAIToolbarItem

#Remarks

Populate the DxHtmlEditor.AdditionalItems collection with the ChangeStyleAIToolbarItem object to add the Change Style item to the editor toolbar. This item generates alternative versions of the same content to match a specific genre or format.

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" >
    <AdditionalSettings>
        <SummarizeAIToolbarItem />
        <ExplainAIToolbarItem />
        <ProofreadAIToolbarItem />
        <ExpandAIToolbarItem />
        <ShortenAIToolbarItem />
        <AskAssistantAIToolbarItem />
        <ChangeStyleAIToolbarItem />
        <ChangeToneAIToolbarItem />
        <TranslateAIToolbarItem Languages="@("German, French, Chinese")" />
    </AdditionalSettings>
</DxHtmlEditor>

AI-powered Extension for HtmlEditor

#Inheritance

Object
ComponentBase
DevExpress.AIIntegration.Blazor.Internal.BasePopupItem
BaseAIToolbarItem
ChangeStyleAIToolbarItem
See Also