Skip to main content
Home Forums General Silverlight Getting Started SVG to XAML mapping
3 replies. Latest Post by Kevgor on July 26, 2007.
(0)
light
Member
8 points
7 Posts
07-25-2007 6:14 PM |
I am trying to find the SVG equivalent elements/attrs in XAML.
For e.g. there is zoomAndPan attribute in SVG. Is there a corresponding one in XAML?
There must be some documentation with microsoft folks as XAML seem to be very similar to SVG at least in terms of syntax.
Kevgor
224 points
77 Posts
07-26-2007 4:18 PM |
Here is the Silverlight Spec.
http://msdn2.microsoft.com/en-us/library/bb188567.aspx
The documentation is not written as if the Silverlight DOM is an XML DOM (eg Elements and Attributes), but rather as Objects (Elements), Properties (Attributes) and Events (Events), more along the way most object models are described in Microsoft reference literature. So this is how you would compare Silverlight to SVG
07-26-2007 7:03 PM |
do they use different terms for zoom / pan? i searched for these terms in the reference.
OR they are yet to implement zom/pan?
07-26-2007 7:15 PM |
No, zoom and pan would have to be implemented in script, and is relatively simple to implement (left as an exercise for the reader).
Well, zoom is fairly simple, I don't know about pan. Might not be the same user experience as in SVG though.
I have not heard that zoom and pan would become declarative (e.g. in the markup, not the code) aspects of Silverlight