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.

How to serialize and deserialize the ConditionalFormats collection alone?

To serialize/deserialize the GridConditionalFormatDescriptorCollection of grid to/from xml file, the XMLSerializer can be used. XMLSerializer can be defined by GridConditionalFormatDescriptorCollection class which is having the ConditionalFormat collection of grid.

Serialization

Code snippet

C#

 

VB

 

Deserialization

Code snippet

 

C#

 

VB

 

Screenshot

Sample Links

C# Serialization of ConditionalFormats CS

VB Serialization of ConditionalFormats VB

Article ID: Published Date: Last Revised Date: Platform: Control:
7207 01/06/2017 01/06/2017 Windows Forms GridGroupingControl
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.