ImageGear .NET v25.2 - Updated
ImageGear.Web.UI Library / ImageGear.Web.UI Namespace / PageView class / getDefaultContextMenu Method

In This Topic
    getDefaultContextMenu Method
    In This Topic
    Gets the context menu for the provided mark type.
    Syntax
    ASP.NET Ajax JavaScript (Specification) 
    function getDefaultContextMenu( 
       markType : MarkType
    ) : ContextMenu;
    ASP.NET Ajax JavaScript (Usage) 
    var resultVar = instanceOfPageView.getDefaultContextMenu(MarkType);

    Parameters

    markType
    Specifies ART mark type to return the context menu for.

    Return Value

    The method returns ContextMenu.
    Remarks
    This method returns independent from specific instance of PageView control context menu for the given mark type and ImageGear.Web.UI.MouseTool.EditMarks mouse tool, or the image context menu if null value is provided as a mark type. Please see Context Menu Customization page for more details.
    See Also