Back to Devexpress

Getting Started

wpf-401166-dotnet-core-support-getting-started.md

latest2.7 KB
Original Source

Getting Started

  • Dec 03, 2024
  • 3 minutes to read

This topic describes how to create a .NET application, configure it to use DevExpress WPF controls, and add the Spreadsheet control.

Prerequisites

Refer to the DevExpress Unified Component Installer section for detailed information on how to download and install DevExpress .NET products.

Note

We implemented a new dotnet CLI-powered Project Wizard you can use across multiple IDEs. The new wizard suggests many additional presets: Cross-IDE Project Template Kit.

Create a New Project

Open Visual Studio and create a new project. Choose the DevExpress v25.2 WPF App Template Gallery template.

Specify the project name and location.

In the DevExpress Template Gallery , select the .NET platform, the Blank Application template, and the .NET 6.0 version.

Use a NuGet Feed

  1. If you add the DevExpress products using a NuGet feed instead of the Unified Component Installer, the DevExpress v25.2 WPF App Template Gallery template is not available. Use the WPF Application template to create a new project.

  2. Go to Tools | NuGet Package Manager | Manage NuGet Packages for Solution.

Add Themes

  1. Go to Tools | NuGet Package Manager | Manage NuGet Packages for Solution.

  2. In the “Browse” tab, search for the ‘DevExpress.Wpf.Themes’ keyword and install a theme package for the current project. You can use the DevExpress.Wpf.Themes.All package to install all themes. You can add individual theme packages instead to reduce the application size. Accept the license agreement.

  3. Build the solution.

Refer to the following topic for information on how to install and manage DevExpress packages in your projects with the DevExpress NuGet feed: Choose Between Offline and Online DevExpress NuGet Feeds.

Add a Control

  1. Open MainWindow.xaml.

  2. Drag the Spreadsheet control from the Visual Studio Toolbox to the XAML code.

  3. Build and run the solution.