Click or drag to resize

IndicatorBaseAddContextMenu Method

Add an IMenuItem in the context menu

Namespace: ArthaChitra.Model.SharpScript
Assembly: ArthaChitra.Core (in ArthaChitra.Core.dll) Version: 2.0.6.0
Syntax
C#
protected IMenuItem AddContextMenu(
	Object header,
	ICommand command,
	Object styleTemplate = null,
	int index = -1
)

Parameters

header  Object
Header of the IMenuItem
command  ICommand
Command of the IMenuItem
styleTemplate  Object  (Optional)
Style template of the IMenuItem
index  Int32  (Optional)
Index at which the menu item will be inserted

Return Value

IMenuItem
Exceptions
ExceptionCondition
Exception
See Also