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

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -