XAML Overview - XAML

What is XAML Overview?

XAML stands for Extensible application Markup Language. It’s a easy and declarative language based on XML.

  • In XAML, it very easy to create, initialize, and set properties of an item with hierarchical relations.
  • It is mainly used for designing GUIs.
  • It may be used for different purposes as well, e.g., to declare workflow in Workflow basis.

XAML can be used in unique platforms including WPF (windows Presentation foundation), Silverlight, mobile development, and windows save App. it may be used throughout unique .net framework and CLR (common language runtime) versions.

How XAML Works

XAML is a declarative language in the sense it defines the WHAT and How you need to do. XAML processor is responsible for the HOW part to find out. let's have a look at the following schema. It sums up the XAML side of things –

XAML - Overview


The figure illustrates the following actions −

  • The XAML report is interpreted through a platform-precise XAML processor.
  • The XAML processor transforms the XAML to internal code that describes the UI element.
  • The internal code and the C# code are related together through partial instructions definitions and then the .net compiler builds the app.

Advantages of XAML

One of the longstanding issues that all of us face with GUI layout can be solved through using XAML. it can be used to layout UI elements in windows forms applications.

In the earlier GUI frameworks, there was no real separation among how an application seems like and how it behaves. each the GUI and its behavior had been created in the same language, e.g. C# or VB.net, which could require more effort from the developer to implement each the UI and the behavior associated with it.

XAML - Overview

With XAML, it is very easy to separate the conduct from the designer code. hence, the XAML programmer and the designer can work in parallel. XAML codes are very easy to read and understand.

XAML - Overview

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

XAML Topics