ImageGear .NET v24.12 - Updated
getDefaultContextMenu Method

ImageGear.Web.UI Library > ImageGear.Web.UI Namespace > PageView class : getDefaultContextMenu Method
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

Reference

PageView class
PageView Members