Reputation: 2702
How do I tell the xaml serilization to ignore a property. IE the equivalent of the XmlAttributes.XmlIgnore attribute for xml serialization.
Class MyObject
'Is there an equivalent of this for xaml?
<XmlIgnoreAttribute()> Public Property DontSerializeMe as String
End Class
Upvotes: 2
Views: 646
Reputation: 6896
Yes:
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
Upvotes: 2