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

ExpandAIContextMenuItem Class

A context menu item that expands the editor text.

Namespace: DevExpress.AIIntegration.Blazor.RichEdit

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

NuGet Package: DevExpress.AIIntegration.Blazor.RichEdit

#Declaration

C#
public class ExpandAIContextMenuItem :
    BaseAIContextMenuItem

#Remarks

Populate the DxRichEdit.AdditionalItems collection with the ExpandAIContextMenuItem object to add the Expand Text item to the editor context menu. This item enriches editor text with additional information or in-depth explanation.

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

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

Razor
@using DevExpress.AIIntegration.Blazor.RichEdit
@using DevExpress.Blazor.RichEdit

<DxRichEdit>
    <AdditionalSettings>
        <SummarizeAIContextMenuItem />
        <ExplainAIContextMenuItem />
        <ProofreadAIContextMenuItem />
        <ExpandAIContextMenuItem />
        <ShortenAIContextMenuItem />
        <AskAssistantAIContextMenuItem />
        <ChangeStyleAIContextMenuItem />
        <ChangeToneAIContextMenuItem />
        <GenerateDescriptionAIContextMenuItem />
        <TranslateAIContextMenuItem Languages="@("English, German, French, Chinese")" />
    </AdditionalSettings>
</DxRichEdit>

AI-powered Extension for RichEdit

#Inheritance

Object
ComponentBase
DevExpress.AIIntegration.Blazor.Internal.BasePopupItem
BaseAIContextMenuItem
ExpandAIContextMenuItem
See Also