With the system plan finished it was time to actually build the project. With the help of my Silverlight books and some internet pages managed to create the first page. The homepage contains a scrollviewer and some images. From there on I searched through the internet how page navigation works. In Silverlight is this slightly different then normal HTML and it reminded me a lot of html frames back in the old days.
Once the page navigation was finished I create one of the image controls withing the view. The image control contains a canvas, rectangle, image and textblock. The design, my ideas and the Silverlight book helped me to create a storyboard. A storyboard describes a little story and a step by step action:
Example: move rectange from x1 to x8 in 3 keyframes, move rectange from y1 to y8 in 3 keyframes, change color of rectangle from gray to red starting from the 3th keyframe.
After my storyboard was finished I created my control in a usercontrol so I could specify some properties and multiply them easily.
Next was the projectdata, the projectdata will be listed in a xmlfile and needs to be loaded. I created some functionality to approve this and using databinding I was able to combine the data with the properties of the usercontrol.
page navigation tutorial
http://blogs.msdn.com/dphill/archive/2008/10/07/silverlight-navigation-part-1.aspx
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment