Silverlight Business Application Frameworks
[More]
Silverlight 3 introduced the ability for a Silverlight application to run out of browser. In my previous post Creating a Silverlight Out Of Browser Application I outlined a basic example of how to create an out of browser application.
It is often useful to detect if the application is running in the browser or out of browser. To detect if the application is running out of browser you can use the App.Current.IsRunningOutOfBrowser property as follows:
Creating a Silverlight Out of Browser Application.
[More]
In my last post we looked at how to use the stackpanel to build stacked layouts where controls either flow vertically or horizontally. In this article we will go over the Canvas control. The canvas is probably the most basic layout control. It simply provides a container in which child controls may be positioned absolutely.
In this example, we are using Silverlight 4 and Visual Studio Web Developer 2010.
Begin by creating a new Silverlight project called CanvasSample. Then modify MainPage.xaml to look like Figure 1. In the xaml we are…
[More]
In this post I will cover yet another key Silverlight layout control – the Stack Panel. The StackPanel was introduced in Silverlight 2 and it is useful for creating layouts in which controls need to be “stacked” vertically or horizontally.
In this post I will not go into detail on how to create the project. If you need guidance creating the project please see the post Getting Started with Silverlight 4.0, which walks thru setting up a Silverlight 4 environment and creating your first project.
To begin, create a new Silverlight project called StackPanelSample…
[More]
In order to build Silverlight applications it is essential to master the layout controls it provides. In this post I will focus on the Silverlight Grid layout control. The Silverlight Grid is somewhat comparable to an HTML table, although far more flexible. It is very useful in building fluid layouts that need to stretch to fill an area or layouts that need to auto size based on the actual content size. In the previous Getting Started post we used the Grid control to center a TextBlock in the canvas. In this post I will cover the Grid in much greater detail.
To f…
[More]
Tags:
Getting started with Silverlight 4 and Visual Studio 2010 Beta
[More]
Another Silverlight blog is now up and running. I hope to be posting a set of Silverlight quickstart tutorials in the days and weeks to come.