DoubleEditBox context menu

Editors for WPF Forum

Posted 8 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 8 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 8 years ago by John Lutz
Avatar

Any tips for creating a context menu on the DoubleEditBox?

Posted 8 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 (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.