Skip to main content
Version: 11.0.x

Samples & Tutorials

This section has practical tutorials that are designed to help you learn Avalonia UI and build your confidence. Here is a brief guide to what you can expect from each of the tutorials:

To Do List App

A simple to do list application using the Model View View-Model (MVVM) pattern, with binding to a collection, from which you will meet:

  • How to use Bindings
  • How to use Commands
  • Some basic Styling
  • Some very basic I/O operations

This is a very good introduction to the MVVM pattern recommended for Avalonia UI programming. Follow the tutorial here.

Music Store App

This app was made for a demonstration on a webinar hosted by JetBrains, and co-hosted by Dan Walmsley, one of the creators of Avalonia UI.

info

To view the JetBrains and Avalonia UI webinar on YouTube, see here.

It uses the JetBrains Rider IDE running on macOS, but the steps will be equivalent on other platforms; and the developer experience will also be similar on other IDEs such as Visual Studio.

The app features a highly graphical application using the MVVM pattern, and including how to display a dialog, present images and collections of data, and implement data persistence.

Follow this demonstration here.