Users Pricing

blog

home / developersection / blogs / what is xaml?

What is XAML?

Uttam Misra 4702 13 Oct 2010 Updated 18 Sep 2014

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.

Uttam Misra

Information Technology

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