Accessing the popup context menu...

SyntaxEditor for Silverlight Forum

Posted 11 years ago by Jason Sobell
Version: 10.1.0101
Is there any way to add entries to the built-in context sensitive popup menu?
I can't work out where or if this is associated with the syntax editor.


Comments (1)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA

The SyntaxEditor’s context menu can be changed by setting the ContextMenuService.ContextMenuProperty attached property on the SyntaxEditor instance. The ContextMenuService class is defined in the Actipro Shared Library.

Because the original context menu is set up in an OnLoaded handler of SyntaxEditor, you will need to set up your replacement context menu in an OnLoaded handler of the SyntaxEditor instance, or at another point after the OnLoaded event is handled.

Please let us know if you have further questions.

Actipro Software Support

The latest build of this product (v2018.1 build 0233) was released 2 years ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.