Skip to main content

Microsoft Silverlight

Unanswered Question SVG to XAML mappingRSS Feed

(0)

light
light

Member

Member

8 points

7 Posts

SVG to XAML mapping

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
Kevgor

Member

Member

224 points

77 Posts

Re: SVG to XAML mapping

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

 Kevgor

light
light

Member

Member

8 points

7 Posts

Re: Re: SVG to XAML mapping

 do they use different terms for zoom / pan? i searched for these terms in the reference.

 OR they are yet to implement zom/pan? 

Kevgor
Kevgor

Member

Member

224 points

77 Posts

Re: Re: SVG to XAML mapping

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

Kevgor

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities