Skip to main content
All docs
V24.1

IContextMenuItem.Text Property

Specifies text for a context menu item.

Namespace: DevExpress.Blazor.Office

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

string Text { get; set; }

Property Value

Type Description
String

The item text.

Remarks

The following code snippet changes text for the built-in Select All item:

<DxRichEdit CustomizeContextMenu=OnCustomizeContextMenu/>

@code {
    void OnCustomizeContextMenu(IContextMenuItemCollection items) {
        IContextMenuItem selectAllItem = items[RichEditContextMenuItemNames.SelectAll];
        selectAllItem.Text = "Select Entire Content";
    }
}
See Also