c# - XmlSerializer Complex Attributes -
i have xmlserializer
, class layer
member called scale
of type vector2
in it. want vector2
serialized point
in xaml, attribute. want produce this:
<layer scale="1.0,1.5" />
instead of this:
<layer> <scale> <x>1.0</x> <y>1.5</y> </scale> </layer>
is possible?
Comments
Post a Comment