XAML (eXtensible Application Markup Language) is the interface language of the Windows Vista platform. The Vista Application Model includes an Application object. Its set of properties, methods, and events allows you to combine web documents into a related application. The Application object controls the execution of the program and generates events for user code. Application documents are written in XAML. However, with the help of XAML, the user interface is described first of all. The application logic is still controlled by a procedural code (C #, VB, etc.). XAML can be used for browser-based applications as well as for local desktop applications.
XAML includes four main categories of elements: panels, controls, elements associated with a document, and graphic shapes. Declared 7 classes of panels that define the principles of displaying the elements nested in them. To set the position of elements relative to the borders of the parent panel, attributes are used in the manner of properties in object-oriented languages. This syntax doesn’t really fit in with the CSS recommendations, but will be familiar to programmers of desktop applications.
Applications advertised in XAML can include multiple pages. The PageViewer control allows you to paginate content and provide navigation through it. The ContextMenu element helps in creating the navigation menus of the application. The procedural language code can be placed directly in the XAML file or assigned when building the project.
Source: https://habr.com/ru/post/9392/