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.
Unfortunately, activation email could not send to your email. Please try again.

Collapsers for xml-tags

Thread ID:





125740 Sep 8,2016 04:32 AM Sep 15,2016 06:39 AM Windows Forms 1
Tags: EditControl
Christian Gerhards
Asked On September 8, 2016 04:32 AM


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 06:39 AM

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.

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.