XML Syntax editor display expandable / collapsible nodes

SyntaxEditor Web Languages Add-on for WPF Forum

Posted 2 months ago by Himanshu Zinzuwadia
Version: 19.1.0683
Avatar

I am using actipro syntax editor as below in XAML. 

<syntaxeditor:SyntaxEditor Language="Xml" x:Name="txtSchema" HorizontalScrollBarVisibility="Visible" VerticalScrollBarVisibility="Visible">

</syntaxeditor:SyntaxEditor>

I need the Xml to be displayed with +/- for expand/collapse nodes.  Is it possible ? How ?

Thanks

Himanshu

Comments (1)

Posted 2 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Himanshu,

Our XML language in the Web Languages Add-on does support code outlining.  In your code sample above, you're using the Language property, which is a cultural language inherited from a base WPF class.  That's not what you want to set here.

Please see our "WebAddonXmlGettingStarted" QuickStart in the SyntaxEditor section of the Sample Browser.  That shows a basic example of the advanced XML syntax language in use.  Also read through the Getting Started documentation topic since there are a couple things to do in app startup to support worker thread-based parsing.  That topic walks you through everything.


Actipro Software Support

The latest build of this product (v21.1.1) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.