I have derived from DockableGroupPane & DockableControlPane classes & implemented
public override bool ShouldSerialize() { return base.ShouldSerialize(); }
Ex:
[Serializable] public class DummyPane : DockableControlPane, ITabItem {
}
but ShouldSerialize function was never called. I do not want to serialize some of my derived classes..
How to do this?
Should I post these queries through our paid support email account? No one ready from Infragistcis to answer questions.. I feel Shame
If you have a need for immediate support, then yes, contacting the support group is the best way to get support: http://ko.infragistics.com/gethelp. The forums are for peer to peer support and it may take time to get a response to a post.
In regards to your question, the ShouldSerialize method is called at design-time to determine whether the pane should be serialized out to the InitializeComponent code. To prevent the pane from serializing at run-time, you would have to use a derived DockablePanesCollection and re-implement ISerializable.GetObjectData on the collection. However, this is currently not possible because the collection has an internal constructor and the code which creates it cannot be overridden. You can submit a feature request for the ability to use a derived panes collection in your UltraDockManager: http://devcenter.infragistics.com/Protected/RequestFeature.aspx. You can also submit a feature request for a property on individual panes which says whether the panes are serialized out.