download the application please visit www.mrbool.com/player
Layouts: Container Explorer - Course Silverlight 3 - Lesson 3
Duration: 17 minutes
In this video, and the next couple of videos, we will be talking about layouts.
We will briefly discuss the layout containers starting with a Canvas. A Canvas
contains a collection of UIElement objects. It has no inherent layout
characteristics. Its Width and Height properties are zero by default. In the
example, we create a Canvas inside the main Grid. Then, we add TextBlocks and
TextBoxes to read two numbers from the user. We then add a button with a code
behind to divide the numbers and display the results in a TextBlock.
of the development of example: Good coding standard and
simplified design to illustrate the key points.
Used: Silverlight 3 and Visual Studio 2010.
Silverlight 3, XAML, Grid, Canvas, TextBlock, TextBox, Button, ColumnDefinition,
RowDefinition, DatePicker, StackPanel, Orientation.