Is there an easy way to call SyntaxEditor.EditorCommands from code xaml.cs file?

SyntaxEditor for WPF Forum

Posted 2 years ago by JP Garza
Version: 19.1.0685

Since my SyntaxEditor is created dynamically as datatemplate I am trying to find a way to call all this syntax editor commands on the code behind (xaml.cs) file. I am able to find my syntax editor using the VisualTreeHelperExtended class, but once I have my active editor is there away to call (for example) Undo or Redo on it? Are they all accesible inside the SyntaxEditor object?

[Modified 2 years ago]

Comments (1)

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


All of the commands have related API members you can call.  For instance, undo is:


A lot of common text change commands are available like:


I hope that helps.

Actipro Software Support

The latest build of this product (v22.1.3) was released 16 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.