Ads by Lake Quincy Media
| Next Tip?
Home » Archive

Articles Archive for April 2009

Silverlight »

[25 Apr 2009 | No Comment | 76 views]

Layout Controls
All layout controls derive from the basic abstract class Panel.
It is clear from the name these controls define the layout. Silverlight2 proides several Layout Controls like :
Canvas – Its nothing but just similar to <div> tag of html. It exists from the first version of Silverlight and is a very basic Layout Control. It provides the basic facility to set the child elements using Canvas.Top, Canvas.Left properties.
Simple Canvas:
We can directly use the Layout control without specifying any other additional tasks:
&lt;UserControl x:Class=”myFirstSilverlightApp.TestControl”
xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation”
xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml”

Get Adobe Flash playerPlugin by wpburn.com wordpress themes