Silverlight Macro

The Silverlight macro allows you to insert Silverlight applications into your wiki page
Required Parameters
Name Description Range
url absolute url to the xap file n/a

Optional Parameters
Name Description Range Default
height height of the Silverlight object px/pt/pc/in/mm/cm/%/em/ex 200px
width width of the Silverlight object px/pt/pc/in/mm/cm/%/em/ex 200px
version version of Silverlight to use 2/3/4 4
gpuAcceleration enables gpu acceleration for Silverlight 3/4 true/false false

Initialization Parameters

If your Silverlight object requires initParams to be set, you can add arbitrary key/value pairs to the markup. They will be combined and rendered correctly at runtime.
Source Markup
{silverlight:url=http://silverlight.microsoft.com/Assets/ToolkitBanner.xap,height=285,width=880}
Rendered Markup

Last edited Dec 31, 2011 at 12:05 PM by matthaw, version 5

Comments

No comments yet.