Back to Devexpress

RichEditContextMenuItemNames.ShowFontDialog Field

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditcontextmenuitemnames-5b989454.md

latest1.8 KB
Original Source

RichEditContextMenuItemNames.ShowFontDialog Field

Gets the Show Font Dialog item’s name.

Namespace : DevExpress.Blazor.RichEdit

Assembly : DevExpress.Blazor.RichEdit.v25.2.dll

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public const string ShowFontDialog = "ShowFontDialog"

Field Value

TypeDescription
String

The “ShowFontDialog” string.

|

Remarks

Use this property to perform the following operations with the Show Font Dialog item:

The Show Font Dialog item is a context menu item. The item invokes the Font dialog that allows users to change font formatting of selected characters.

The following code snippet removes the Show Font Dialog item from the context menu:

razor
<DxRichEdit CustomizeContextMenu="OnCustomizeContextMenu"/>

@code {
    void OnCustomizeContextMenu(IContextMenuItemCollection items) {
        items.Remove(RichEditContextMenuItemNames.ShowFontDialog);
    }
}

See Also

RichEditContextMenuItemNames Class

RichEditContextMenuItemNames Members

DevExpress.Blazor.RichEdit Namespace