# First Steps with Telerik UI for WPF

This guide helps you create a Windows Presentation Foundation (WPF) project and display a `RadTabControl`.

## Prerequisites

Before you start:

1. Use Windows and Visual Studio with the **.NET desktop development** workload. Check the [Telerik UI for WPF system requirements](https://www.telerik.com/products/wpf/documentation/installation/system-requirements) for supported environments.
2. Install the [.NET 8.0 Software Development Kit (SDK)](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) for this tutorial.
3. Have a Telerik account with a commercial or [trial license](https://www.telerik.com/try/ui-for-wpf) valid for the package version you install.

## Set Up Telerik Development Environment

> tip If you have already set up your Telerik development environment and it doesn't need updating, skip to [create the WPF project](https://www.telerik.com/products/wpf/documentation/getting-started/first-steps-nuget#create-the-wpf-project).

To configure your development environment with the [Telerik command-line interface (CLI)](https://www.telerik.com/products/wpf/documentation/installation/manual-setup-guides/telerik-cli), run these commands in PowerShell:

1. Install Telerik CLI. If it is already installed, update it with `dotnet tool update -g Telerik.CLI` instead.

   ```powershell
   dotnet tool install -g Telerik.CLI
   ```

2. Run the `telerik setup wpf` command and follow the authentication prompts.

   ```powershell
   telerik setup wpf
   ```

The `setup` command signs you in, downloads your license key, and configures the Telerik NuGet source. It also registers the Model Context Protocol (MCP) server configuration. Successful setup displays `Telerik UI for WPF setup complete! Your environment is configured and ready.`

For Q3 2026 and later packages, NuGet.org requires no Telerik feed configuration or authentication. You can use [manual license key installation](https://www.telerik.com/products/wpf/documentation/installation/licensing/installing-license-key#manual-license-key-installation) instead of CLI setup.

## Create the WPF Project

To create a new WPF project in Visual Studio:

1. Select **File** > **New** > **Project**.
2. Select the **WPF Application** template.
3. Enter the project name and location, select **.NET 8.0** as the target framework, and click **Create**.

## Install Telerik Packages in the Project

> important Starting with Q3 2026, Telerik UI for WPF NuGet packages are available on [NuGet.org](https://www.nuget.org/). No Telerik feed configuration or authentication is required for this source.

For earlier versions, use the [Telerik NuGet server or a local package source](https://www.telerik.com/products/wpf/documentation/installation/manual-setup-guides/nuget/package-source-setup).

> tip The `Telerik.UI.for.Wpf.AllControls.Xaml` package contains all Telerik WPF control assemblies. To reference only the controls you need, use the [separate Telerik UI for WPF NuGet packages](https://www.telerik.com/products/wpf/documentation/installation/manual-setup-guides/nuget/available-packages). This example requires `Telerik.Windows.Controls.Navigation.for.Wpf.Xaml` and `Telerik.Licensing`.

To install the packages in your WPF application project:

1. Right-click the project name in Visual Studio and select **Manage NuGet Packages**.

2. Open the **Browse** tab.

3. In the **Package source** dropdown, select **nuget.org** for Q3 2026 and later releases.

4. Search for `Telerik.UI.for.Wpf.AllControls.Xaml`, select a release version, and install it in the project.

   Visual Studio adds a `PackageReference` with the selected version to your project file. Keep that version rather than replacing it with the floating version `*`.

5. Search for `Telerik.Licensing` and install it in the same application project.

> important NuGet-based projects require both the `Telerik.Licensing` package and a license key, even when packages come from NuGet.org. CLI setup downloads the key but does not replace the package requirement. See [license key installation](https://www.telerik.com/products/wpf/documentation/installation/licensing/installing-license-key) for details.

## Add Telerik Controls in the Project

To add a `RadTabControl` to the WPF application:

1. Open the `MainWindow.xaml` file.

2. Add this namespace declaration to the existing `Window` opening tag in `MainWindow.xaml`. This Extensible Application Markup Language (XAML) attribute fragment maps the `telerik` prefix to the controls:

   ```xaml
   xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
   ```

3. Replace the empty `Grid` in `MainWindow.xaml` with this fragment. Keep the existing `Window`, including its generated `x:Class` and namespace declarations. These must match your project's code-behind:

   ```xaml
   <Grid>
   	<telerik:RadTabControl>
   		<telerik:RadTabItem Header="Home" />
   		<telerik:RadTabItem Header="Insert" />
   		<telerik:RadTabItem Header="View" />
   	</telerik:RadTabControl>
   </Grid>
   ```

4. Optionally, [set the theme with `StyleManager`](https://www.telerik.com/products/wpf/documentation/styling-and-appearance/styling-apperance-setting-a-theme-overview#setting-a-theme-using-stylemanager). This tutorial uses Xaml assemblies, which support this approach. To apply Windows11 to the control, add this attribute fragment to the existing `telerik:RadTabControl` opening tag:

   ```xaml
   telerik:StyleManager.Theme="Windows11"
   ```

5. Build and run the project. Verify that the window displays the **Home**, **Insert**, and **View** tab headers. The tab content is empty because this example sets only headers.

> important Telerik UI for WPF provides Xaml and NoXaml assemblies. Use Xaml assemblies for this tutorial and do not mix the two sets. See the [Xaml and NoXaml comparison](https://www.telerik.com/products/wpf/documentation/styling-and-appearance/xaml-vs-noxaml) for their different theme requirements.

If package installation fails, check the selected version and [package source configuration](https://www.telerik.com/products/wpf/documentation/installation/manual-setup-guides/nuget/package-source-setup). If the build reports license errors or the application displays a watermark, check the [license activation errors and solutions](https://www.telerik.com/products/wpf/documentation/installation/licensing/license-activation-errors-and-warnings).

## Next Steps

* [Get AI-powered development help with Telerik AI tools](https://www.telerik.com/products/wpf/documentation/ai-tools/overview)
* [Explore the available Telerik UI for WPF components](https://www.telerik.com/products/wpf/documentation/introduction#list-of-components)
* [Browse the Telerik UI for WPF desktop demos](https://demos.telerik.com/wpf/)
* [Explore the Telerik WPF Data Grid and its features](https://www.telerik.com/products/wpf/documentation/controls/radgridview/overview2)
* [Choose a Telerik UI for WPF theme](https://www.telerik.com/products/wpf/documentation/styling-and-appearance/styling-apperance-setting-a-theme-overview)

## See Also

* [Compare Xaml and NoXaml assemblies](https://www.telerik.com/products/wpf/documentation/styling-and-appearance/xaml-vs-noxaml)
* [Installation and Setup with Telerik CLI](https://www.telerik.com/products/wpf/documentation/installation/manual-setup-guides/telerik-cli)
