Web & UI

XAML

XAML (Extensible Application Markup Language) is a declarative XML-based language developed by Microsoft that is used for initializing structured values and objects. It is primarily used to design user interfaces in .NET Framework and .NET Core applications, particularly in Windows Presentation Foundation (WPF), Universal Windows Platform (UWP), and Xamarin.Forms for designing UI layouts.

Share this starting point code.study/xaml
Created by
Microsoft
First appeared
2006
Official resource
Visit the main website

Your first program

Hello, World!

XAML
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        Title="Hello World" Height="350" Width="525">
    <Grid>
        <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center">Hello, World!</TextBlock>
    </Grid>
</Window>

Keep learning

Where to go from here

Use trusted documentation for facts and an AI tutor for personalized explanations.

01

Official resource

Learn from the source

Continue with the language’s official documentation, project, or standards site.

Open official resource
02

Personalize it

Ask your AI tutor

Use a focused prompt covering strengths, tradeoffs, setup, and this first program.

Your prompt

Teach me the basics of XAML. Use https://code.study/xaml as the starting point. Explain what XAML is best suited for, when I should not choose it, how to install or try it, and then walk me through its Hello World example step by step.

Content reviewed August 2026 · Start with primary sources and verify version-specific details.