Skip to main content
All docs
V25.2
  • IContextMenuItem.Text Property

    Specifies context menu item text.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.2.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    string Text { get; set; }

    Property Value

    Type Description
    String

    The item text.

    Remarks

    The following code snippets change texts of built-in context menu items:

    <DxRichEdit CustomizeContextMenu="CustomizeContextMenu"/>
    
    @code {
        void CustomizeContextMenu(IContextMenuItemCollection items) {
            IContextMenuItem selectAllItem = items[RichEditContextMenuItemNames.SelectAll];
            selectAllItem.Text = "Select Entire Content";
        }
    }
    

    Refer to CustomizeContextMenu event descriptions for additional information and examples:

    See Also