I am saving the layout of a fixed set of docking windows. This works fine except for the Header property.
I have a custom control that I set as the Header content which contains an image and text. When serialized this generates an attribute with the class name of my custom control and when deserialized this gets put in the header.
I would like the deserialization to ignore the Header value and use the actual value as defined in the XAML (which has data binding etc. so I dont want to create this in code). How can I get a Header content defined in XAML to be displayed correctly?