eXtensible Application Markup Language (XAML)

Learn how to use XAML to define Xamarin.Forms user interfaces.

Get Started

  • Basics

    Learn the basics of developing Xamarin.Forms user interfaces with XAML.
  • Controls

    Learn about the Xamarin.Forms views that can be referenced from XAML files.
  • Compilation

    Learn how to compile XAML directly into intermediate language with the XAML compiler.
  • Markup Extensions

    Learn about XAML markup extensions, which allow element attributes to be set from sources other than literal text strings.

Tooling

  • Hot Reload

    Learn how to use XAML Hot Reload to quickly validate UI changes.
  • Toolbox

    Learn how to use the XAML toolbox to drag Xamarin.Forms controls and layouts into the XAML editor.
  • Previewer

    Learn how to use the XAML previewer, to see a live preview of a page side-by-side with its XAML markup.

Namespaces

  • Namespaces

    Learn about the XAML namespace syntax, and how to declare a XAML namespace to access a type.
  • Custom Namespace Schemas

    Learn how to create XAML custom namespace schemas, which specify a mapping between a custom URL and one or more CLR namespaces.
  • Namespace Recommended Prefixes

    Learn how to specify a recommended prefix to associate with a XAML namespace, for XAML usage.

Additional Capabilities

  • Bindable Properties

    Learn how to create bindable properties, and how to consume them from XAML.
  • Attached Properties

    Learn how to create attached properties, and how to consume them from XAML.
  • Resource Dictionaries

    Learn how to create XAML resources, and reuse them throughout a Xamarin.Forms application.
  • Passing Arguments

    Learn how to use XAML to pass arguments to constructors, to call factory methods, and to specify the type of a generic argument.
  • Field Modifiers

    Learn about XAML field modifiers, which specify the access level for generated fields for named XAML elements.
  • Load XAML at Runtime

    Learn how to load and parse XAML at runtime.