We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Collapsers for xml-tags

Thread ID:





125740 Sep 8,2016 08:32 AM UTC Sep 15,2016 10:39 AM UTC WinForms 1
Tags: EditControl
Christian Gerhards
Asked On September 8, 2016 08:32 AM UTC


is it possible to get the vertical collapsers(+, -) in the editControl also to work for tags in a xml-file like in notepad++?

(example attached)

Best regards

Attachment: collapsers_example_from_notepad_1dd9c42.rar

Venkateshwaran Ramdoss [Syncfusion]
Replied On September 15, 2016 10:39 AM UTC

Hi Christian,   
This reported requirement can be achieved by using Regular Expression support in EditControl Config.xml. It is needed to define Regular Expression in below scenario.  
For Example: 
1)      Need to define Regular Expression for Collapse Region initialization 
Ex:  < “Any Text, casing, Special Characters goes here”> ---- Starts with “<”, follows with Text and ends with “>”. 
2)      Need to define Regular Expression for Collapse Region End 
Ex:  </ “Any Text, casing, Special Characters goes here”> --- Starts with “<”, follows with “/” Text and ends with “>”. 
We are facing problems in defining Regular Expression settings for above scenario, as it satisfies all the scenarios. So we have raised this MSDN forum and will let you know once we receive prompt solution for this case.  
Venkateshwaran V.R.   


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon