ASP.NET Core - EJ2

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ContextMenu - ASP.NETCore-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ContextMenu

    Inheritance
    System.Object
    EJTagHelper
    ContextMenu
    Inherited Members
    EJTagHelper.GetList()
    EJTagHelper.Process(TagHelperContext, TagHelperOutput)
    EJTagHelper.RegisterScript()
    EJTagHelper.GetSerializedProperties()
    EJTagHelper.GetScriptString()
    EJTagHelper.GetHtmlAttrString(IDictionary<String, Object>)
    EJTagHelper.ViewContext
    EJTagHelper.For
    EJTagHelper.Id
    EJTagHelper.IsChild
    EJTagHelper.IsComplex
    EJTagHelper.IsCollection
    EJTagHelper.ParentPropertyName
    Namespace: Syncfusion.EJ2.Navigations
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class ContextMenu : EJTagHelper

    Constructors

    ContextMenu()

    Declaration
    public ContextMenu()

    Properties

    AnimationSettings

    Specifies the animation settings for the sub menu open.

    Declaration
    public ContextMenuAnimationSettings AnimationSettings { get; set; }
    Property Value
    Type Description
    ContextMenuAnimationSettings

    BeforeClose

    Triggers before closing the menu.

    Declaration
    public string BeforeClose { get; set; }
    Property Value
    Type Description
    System.String

    BeforeItemRender

    Triggers while rendering each menu item.

    Declaration
    public string BeforeItemRender { get; set; }
    Property Value
    Type Description
    System.String

    BeforeOpen

    Triggers before opening the menu item.

    Declaration
    public string BeforeOpen { get; set; }
    Property Value
    Type Description
    System.String

    ClassName

    Declaration
    protected override string ClassName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    EJTagHelper.ClassName

    Created

    Triggers once the component rendering is completed.

    Declaration
    public string Created { get; set; }
    Property Value
    Type Description
    System.String

    CssClass

    Defines class/multiple classes separated by a space in the Menu wrapper.

    Declaration
    public string CssClass { get; set; }
    Property Value
    Type Description
    System.String

    EnableHtmlSanitizer

    Defines whether to allow the cross-scripting site or not.

    Declaration
    public bool EnableHtmlSanitizer { get; set; }
    Property Value
    Type Description
    System.Boolean

    EnablePersistence

    Enable or disable persisting component's state between page reloads.

    Declaration
    public bool EnablePersistence { get; set; }
    Property Value
    Type Description
    System.Boolean

    EnableRtl

    Enable or disable rendering component in right to left direction.

    Declaration
    public bool EnableRtl { get; set; }
    Property Value
    Type Description
    System.Boolean

    Filter

    Specifies the filter selector for elements inside the target in that the context menu will be opened.

    Declaration
    public string Filter { get; set; }
    Property Value
    Type Description
    System.String

    HtmlAttributes

    Allows additional HTML attributes such as title, name, etc., and accepts n number of attributes in a key-value pair format.

    Declaration
    public object HtmlAttributes { get; set; }
    Property Value
    Type Description
    System.Object

    IsFor

    Declaration
    protected override bool IsFor { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    EJTagHelper.IsFor

    Items

    Specifies menu items with its properties which will be rendered as ContextMenu.

    Declaration
    public object Items { get; set; }
    Property Value
    Type Description
    System.Object

    Locale

    Overrides the global culture and localization value for this component. Default global culture is 'en-US'.

    Declaration
    public string Locale { get; set; }
    Property Value
    Type Description
    System.String

    NameSpace

    Declaration
    protected override string NameSpace { get; }
    Property Value
    Type Description
    System.String
    Overrides
    EJTagHelper.NameSpace

    OnClose

    Triggers while closing the menu.

    Declaration
    public string OnClose { get; set; }
    Property Value
    Type Description
    System.String

    OnOpen

    Triggers while opening the menu item.

    Declaration
    public string OnOpen { get; set; }
    Property Value
    Type Description
    System.String

    Select

    Triggers while selecting menu item.

    Declaration
    public string Select { get; set; }
    Property Value
    Type Description
    System.String

    ShowItemOnClick

    Specifies whether to show the sub menu or not on click. When set to true, the sub menu will open only on mouse click.

    Declaration
    public bool ShowItemOnClick { get; set; }
    Property Value
    Type Description
    System.Boolean

    TagName

    Declaration
    protected override string TagName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    EJTagHelper.TagName

    Target

    Specifies target element selector in which the ContextMenu should be opened.

    Declaration
    public string Target { get; set; }
    Property Value
    Type Description
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved