Tutorials » Silverlight tutorials »

What is XAML ?


This chapter gives an introduction to XAML - the eXtended Application Markup Language


XAML stands for eXtended Application Markup Language. XAML contain XML that is used to declaratively specify the user interface for Silverlight or WPF applications.

For example, if you need to display a rectangle, this is the XAML you need to use:

<Canvas Width="500" Height="500" Background="White">
<Rectangle Canvas.Left="75" Canvas.Top="90" Fill="red" Width="100" Height="100" />
</Canvas>


When the above xaml is executed, it will display a rectangle filled with red color.

You may notice is that XAML is very similar to HTML in nature.



Next Chapter: "Hello World" Silverlight application
Previous Chapter: Difference between Silverlight Runtime and Silverlight SDK
More Chapters: Silverlight Tutorials
More Tutorials: Tutorial Index



Top Contributors
TodayLast 7 Daysmore...

Awards & Gifts

Online Members

Manigandan
More...
 
Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India