First SketchFlow Application In Blend 3/Silverlight 3 Part I

No.of Views908
Bookmarked0 times
Downloads 
Votes0
By  dpatra   On  16 Feb 2010 00:02:01
Tag : Silver Light and XAML , How to
First SketchFlow Application In Blend 3/Silverlight 3 Part I
emailbookmarkadd commentsprint

Images in this article missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at info@codegain.com

 

Introduction


Blend 3 + SketchFlow RC release is the new product from Microsoft. SketchFlow is nothing but a Silverlight 3 Application where we can prototype the application before going into development phase. So In this article we will be discussing how can we create a simple SketchFlow Application In Silverlight 3.

Creating the Silverlight Project


Fire up Blend 3 and create a Silverlight 3 + SketchFlow Project. Name it SketchFlowSample.

Image Laoding....

After you press OK, Blend 3 will create some workspaces for you. Such as: SketchFlow Animation Pane, Screen1.xaml, and SketchFlow Map Pane.

Image Loading....

SketchFlow Animation pane

Image Loading....

Screen 1.xaml Pane (Designer pane)

Image Loading...

SketchFlow Map Pane


We will start with the SketchFlow Map Pane, as you see the image above it has a Screen 1 with activated and a play button on top left corner. For your information it is the default page of the SketchFlow prototype project, but you can add and remove screens and components etc to the SketchFlow Application.


SketchFlow is the flow of screen of a particular project.


Now we will see what are the options available for a screen, when you mouse hover the Screen you can see the following options available such as:

Image Loading....

First Icon describes to Create a connected Screen.

Image Loading.....

Second Icon describes to Connect to an existing screen.

Image Loading....

Third Icon describes to Create and Insert a Component screen.

Image Loading....

The bottom right corner / fourth Icon says to Change visual tag.
If you will click the fourth Icon (Change visual tag); you will see the following. Here you can change the color of your screen in the SketchFlow Map Pane. But you can see some colors are predefined such as Blue for Navigation and Green for Component.

Image Loading...

Now you can rename your screen at any time. I have changed Screen1 to Welcome.

Image loading...

We will add a connected screen to our Welcome Screen.

Image Loading....

As displayed above click the first Icon and you will get your connected screen with the arrow. You can achieve this in another way.

Right Click on the empty space in the Map and you will see option for Create a Screen.

Image loading...

After adding a screen using the above method you need to connect to a screen. You can achieve this in two ways as well but this time based on your flow requirement. As I have showed you the options for a screen the second Icon connects to an existing screen. As we are coming from Welcome Screen to Home Screen we need to add connection from the Welcome Screen. And you will get as below. Just Drag and Drop.

Image Loading.....

We will add two more Connected Screens after Home like Change Profile, etc. Follow the above process to add more screens.

Image loading...

Now we will see how we can add components to the Map. You can achieve this in two ways as well. Such as click on the third Icon and you will get your component added.
Here we will follow the second method of adding a component, as we are not sure about the connectivity of the component with other screens at this point.

Image Loading....

And after that Use Drag and Drop method to add existing screens.

Image Loading....

One thing you must have noticed that each time you add a Screen or Component, Blend 3 adds a Xaml file with .CS associated file.

Image Laoding....

So you have explored how to add Screens and Components to the SketchFlow Map and of course how to connect each other.

We will explore more in our next article. Enjoy Coding

Thank you


About the Author


Diptimaya Patra

Description :I am a Master in Computer Application (MCA) from SRM University, Chennai. I am MCTS in ASP.Net Web Development, and MOSS 2007 Administration. I have extreme exposure to Microsoft Technologies in recent times like Silverlight 2, Silverlight 3. I am from Cuttack, Orissa. You can reach me using this mail (diptimaya.patra@gmail.com). Currently I am working as a Software Engineer in UST Global Inc in Trivandrum Center.

Occupation :Software Engineer
Company : UST Global.
Location : India
Follow me at twitter : http://twitter.com/dpatra


 
Sign Up to vote for this article
 
About Author
 
dpatra
Occupation-Not Provided
Company-Not Provided
Member Type-Expert
Location-Not Provided
Joined date-13 Jul 2009
Home Page-Not Provided
Blog Page-Not Provided
 
 
Other popularSectionarticles
Comments
There is no comments for this articles.
Leave a Reply
Title:
Display Name:
Email:
(not display in page for the security purphase)
Website:
Message:
Please refresh your screen using Ctrl+F5
If you can't read this number refresh your screen
Please input the anti-spam code that you can read in the image.
^ Scroll to Top