# Getting started ## Adding dictionaries [XAML](https://docs.microsoft.com/en-us/dotnet/desktop/wpf/xaml/?view=netdesktop-6.0), and hence WPF, operate on resource dictionaries. These are HTML-like files that describe the appearance and various aspects of the [controls](https://wpfui.lepo.co/documentation/controls). **WPF UI** adds its own sets of these files to tell the application how the controls should look. There should be a file called `App.xaml` in your new application. Add new dictionaries to it using **WPF UI** `ControlsDictionary` and `ThemesDictionary` classes: ```xml ``` Notice that the `ThemeDictionary` lets you choose a color theme, `Light` or `Dark`. ## The main window There should be a `MainWindow.xaml` file in your newly created application. It contains the arrangement of the controls used and their parameters. ```xml ``` Add the **WPF UI** library namespace to this window to tell the XAML compiler that you will be using controls from the library. ```xml ``` ## Adding controls To add a new control from the **WPF UI** library, just enter its class name, prefixing it with the `ui:` prefix: ```xml ``` # Well... That's it when it comes to the basics, information about individual controls can be found in [documentation](https://wpfui.lepo.co/documentation/). Rules for building a WPF application can be found in the [official Microsoft documentation](https://learn.microsoft.com/en-us/dotnet/desktop/wpf/controls/styles-templates-overview?view=netdesktop-6.0). You can check out [**how to build MVVM applications** here](https://learn.microsoft.com/en-us/windows/communitytoolkit/mvvm/puttingthingstogether). If you think this documentation needs improvement, please [help improve it here](https://github.com/lepoco/wpfui/tree/development/docs/tutorial).