DeveloperSection

Home / DeveloperSection / Blogs / What is XAML?

What is XAML?

Uttam Misra 3683 13-Oct-2010

XAML (pronounced zammel) is an acronym for eXtensible Application Markup Language and is an XML-based specification for defining UI Although XAML was created specifically for WPF. This is technically called a declarative programming model. WPF will take that definition and convert it into real elements on the screen.

For Example:
        //XAML Code  
<Page
xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation'>
<StackPanel>
<Label>MindStick</Label>
</StackPanel>
</Page>

 

XAML documents are strict XML. Every tag (for example, StackPanel or Label) and attribute (for example, Margin or FontSize) must correspond to a valid .NET type or property. If a tag has the wrong case or an unknown attribute is used, the resulting XAML won’t work.

Updated 18-Sep-2014
Uttam Misra

Uttam Misra

More than 18 years of working experience in IT sector. We are here to serve you best.

Leave Comment


Please enter subject.
Please enter comments message.


Comments

Liked By