Skip to main content
All docs
V24.2

GenerateDescriptionAIContextMenuItem Class

A context menu item that generates the description for an image.

Namespace: DevExpress.AIIntegration.Blazor.RichEdit

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

NuGet Package: DevExpress.AIIntegration.Blazor.RichEdit

Declaration

public class GenerateDescriptionAIContextMenuItem :
    BaseAIContextMenuItem

Remarks

Populate the DxRichEdit.AdditionalItems collection with the GenerateDescriptionAIContextMenuItem object to add the Describe Picture item to the editor context menu. This item enables you to generate alternative text for an image.

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

@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
GenerateDescriptionAIContextMenuItem
See Also