Silverlight

The new Microsoft way for web development

NavFx Part 6 - Page Transition

Again I am going to defer my plans for this next article, I was going to cover implementing a wizard using NavFx but I have had several people contact me asking about creating custom transition handlers so will cover that topic first. To support this article I have created the FadeTransitor, which fades out the current page then fades in the new page. It does so by applying a DoubleAnimation to the Opacity property of the target pages. Background The NavFx Navigator does a lot of work for you, and makes it easy to navigate from one page to the next, loading them from...

NavFx Part 5 - The Many Faces of GoToPage

Following a request for some changes to NavFx to support single step navigation I have added several new overloads of the Navigator.GoToPage method.  With so many overloads I thought it would a good idea to document them all in a seperate article. In this article I am going to briefly recap the original navigation steps then I am going to document each of the GoToPage overloads. Original NavFx Process Other articles cover the use of NavFx in detail, but I want to recap the coding steps you would perform during startup and to navigate from page to page in your NavFx application. Initialisation Typically during startup...

NavFx Part 4 - Application Structure

Change of plans.  I was going to take you through my journey of creating the next version VRCyclist.com as a way of documenting the ways in which NavFx can be used.  However the amount of work I needed to do just to get the point of having something to demonstrate in this and subsequent articles turned out to be too much so I decided to create new demo applications instead.  I have designed the new demos to be useful as a learning tool as well as demonstrating how you might use NavFx.  To be fair to both camps I have...

NavFx Part 3 - At The Interface

Before I move on with my journey of using NavFx to build  VRC3 I want to fulfil a special request and cover how to use the  Interfaces to add NavFx to support to an application built with UserControls instead of the templates or base classes.  For those that have existing applications using the interfaces requires the least changes to code. NavFx includes four interfaces IApplication IHostPage IPage ITransitor I am not going to cover ITransitor in this article as it warrants its own article which I will add at...

NavFx Part 2 - Setting Up

Hopefully you have at least skimmed through NavFx Part 1 - Quick Reference and have a basic idea of what NavFx brings to your Silverlight applications.  In this an subsequent articles I am going to walk you through how I use NavFx to build the next version of http://www.vrcyclist.com.  I am not going to go into every gory detail, I will be focussing on the NavFx aspects of the application, but feel free to comment or ask questions about any aspect, I will do my best to answer them.  Do bear in mind though I am not re-writing this application in...

NavFx Part 1 - Quick Reference

In this first article on NavFx I am going a provide a quick reference for it's features by way of some basic documentation. Since posting the first version of this article I have started a project on CodePlex for NavFx and made the code available there, along with simple demo projects in C# and VB.NET.  I have also created VSI installers for templates that you can use to get up and running with NavFx very quickly.  The project is located at http://www.codeplex.com/NavFx. Package Contents NavFx includes four interfaces, five classes and seven custom exceptions, which are listed below and will be explained further in...

Introducing the Silverlight Navigation Framework

Having a developer mindset instead of a more creative designer mindset I never really got in to Silverlight 1.*, I learned what I needed to know but never used it.  Why?  Basically because I work on web applications and not web sites and the lack of native support for application features such as form controls led me to see Silverlight 1.* as limited to funky presentation media based stuff.  I am sure this view will be challenged and I will generate some comment but it is just the way I think of things. Silverlight 2.* has changed things for me as it introduces native controls and support for Silverlight Applications.  Now...