Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
90
Unexpected Serialize Behavior for DockableGroupPane & DockableControlPane derived classes
posted

I have derived from DockableGroupPane & DockableControlPane classes & implemented

  public override bool ShouldSerialize()
        {
            return base.ShouldSerialize();
        }

 

Ex:

 

 [Serializable]
    public class DummyPane : DockableControlPane, ITabItem
    {

      public override bool ShouldSerialize()
        {
            return base.ShouldSerialize();
        }

 

 

    }

 

but ShouldSerialize function was never called. I do not want to serialize some of my derived classes..

 

How to  do this?

Parents Reply Children
No Data