1. Open vs, create a Silverlight program, such as:
2, configuration Select the default, of course, you can also uncheck the host application, such as:
3. Add a Silverlight control, 2 label and a button to define the attributes;
The ID in Silverlight is name,text in Silverlight is content, such as:
4. Double-click the button control to write the control's clicking event, such as:
5. Then build this project, such as:
6. Open the folder in the browser, such as:
7. Find the Xap file we build, such as:
8. Upload the Sldemo.xap file to the SharePoint document library and copy the links, such as:
9. Add the Siverlight Web Part to the SharePoint page, such as:
10. Enter a URL attribute, such as:
11, after saving, view the page, click button, the control display data;
Summary
This article describes how to use a Silverlight program in SharePoint, and of course it is not a Silverlight developer, all of which are limited to Silverlight and are shown in a very simple example.
All right, here we go, rest and rest.
How to use Silverlight in SharePoint 2013