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 de-serialize properties of SplitContainerAdv ?

This article describes, how to perform serialization and deserialization on the properties of SplitContainerAdv, since SplitContainer control doesn’t have built-in StatePersistence support. For instance, we have serialized and deserialized the values of SplitterDistance and BackgroundColor properties of SplitContainerAdv. The following code examples explains the same, 

 

Method to serializing the values of SplitContainerAdv:

 

Method to deserialize the values of SplitContainerAdv:

 

SplitContainerAdvSettings.cs:

 

Sample in C#:

http://www.syncfusion.com/downloads/support/directtrac/general/ze/SplitContainer_StatePersistence_Sample766616685.zip

 

Sample in VB:

http://www.syncfusion.com/downloads/support/directtrac/general/ze/SplitContainer_StatePersistence_VB467219905.zip

 

Article ID: Published Date: Last Revised Date: Platform: Control: .NET Framework:
8699 04/13/2018 04/13/2018 Windows Forms SplitContainerAdv 4
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.