Export (0) Print
Expand All

Add elements to a XAML document in a Silverlight project

Expression Studio 2.0
This page applies to Silverlight 1 projects only

You add elements to a XAML document in a Microsoft Silverlight 1.0 project just as you do when you add elements to a XAML document in a Windows Presentation Foundation project. The only difference is that you are limited to the following list of controls that are supported by Silverlight 1.0:

  • Canvas

  • Ellipse

  • Image

  • MediaElement

  • Rectangle

  • TextBlock

  • Path elements that can be drawn on the artboard using the Pen and Pencil tools

Some elements require JavaScript code to implement their full functionality in your Silverlight 1.0 application, such as adding events to respond to button clicks. For an example, see Create a button that controls a storyboard in a Silverlight application.

Community Additions

ADD
Show:
© 2014 Microsoft