DoubleEditBox context menu

Editors for WPF Forum

Posted 3 years ago by John Lutz
Version: 16.1.0631
Avatar

Is there a simple "Copy/Paste" context menu available for a DoubleEditBox?

Comments (3)

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

Hi John,

Sorry there isn't a built-in context menu for that.  Ctrl+A, Ctrl+C and Ctrl+V should work though.


Actipro Software Support

Posted 3 years ago by John Lutz
Avatar

Any tips for creating a context menu on the DoubleEditBox?

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

Hi John,

I think you can just do something like this, which should work when the caret is in the text portion of the control:

<editors:DoubleEditBox.ContextMenu>
	<ContextMenu>
		<MenuItem Command="Copy" />
		<MenuItem Command="Paste" />
	</ContextMenu>
</editors:DoubleEditBox.ContextMenu>


Actipro Software Support

The latest build of this product (v2018.1 build 0675) was released 10 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.