Blazor

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ContextMenuModule

    Show / Hide Table of Contents

    Class ContextMenuModule

    Represents the context menu module in DocumentEditor.

    Inheritance
    System.Object
    ContextMenuModule
    Namespace: Syncfusion.Blazor.DocumentEditor
    Assembly: Syncfusion.Blazor.DocumentEditor.dll
    Syntax
    public class ContextMenuModule : Object

    Constructors

    ContextMenuModule(SfDocumentEditor)

    Initializes a new instance of the ContextMenuModule class. Default constructor for ContextMenu.

    Declaration
    public ContextMenuModule(SfDocumentEditor baseComponent)
    Parameters
    Type Name Description
    SfDocumentEditor baseComponent

    An DocumentEdiorComponent instance.

    Properties

    DocumentEditor

    DocumentEdiorComponent instance.

    Declaration
    protected SfDocumentEditor DocumentEditor { get; set; }
    Property Value
    Type Description
    SfDocumentEditor

    Methods

    AddCustomMenu(List<MenuItemModel>, Boolean, Boolean)

    Add and customize custom context menu items.

    Declaration
    public void AddCustomMenu(List<MenuItemModel> items, bool isEnable, bool isBottom)
    Parameters
    Type Name Description
    System.Collections.Generic.List<MenuItemModel> items

    Custom context menu items.

    System.Boolean isEnable

    Hide existing menu items and show custom menu item alone.

    System.Boolean isBottom

    Place the new items at the bottom of existing items.

    HideSpellContextItems()

    Hide spelling context menu items.

    Declaration
    public void HideSpellContextItems()
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved