Posts

WHAT IS YOUR ROLE OF XAML IN XAMARIN

What is the role of XAML in Xamarin Xaml is a simple and declarative markup language based on XML. Xaml is a case sensitive and strongly typed markup language that separates presentation from business logic. XAML Components are XML representations of CLR objects. Xaml is used to create, initialize, and set the properties of an object in hierarchical relationships. Xaml is mainly used to design UI in WPF, Silverlight, Windows Phone and Xamarin forms. Advantages of XAML It addresses concerns and business logic separately. This is the default format for XAML platforms. It implements a developer-designed workflow. This improves application testability. Designing a UI with XAML is easy compared to code XAML will provide a separation between UI (XAML) and UI logic (C#) Separates the roles of designer and developer  In an XAML file (business logic is defined in the corresponding xaml.cs file or - better - via a bindings to a viewmodel)  In a CS fil...