Skip to main content

Build Your First App with DevExpress Mobile UI for .NET MAUI

  • 4 minutes to read

You can use the DevExpress template (recommended) or standard project template to create a new .NET MAUI application.

DevExpress Project Templates

Navigate to the following page in the Visual Studio Marketplace, download, and install the extension:

In Visual Studio, select File > New > Project. In the Create a new project window, find the DevExpress v23.1 Mobile App (.NET MAUI) template and click Next.

Create a new project

Your project will include references to corresponding DevExpress NuGet packages and will register all required handlers. The predefined pages will also declare XAML namespaces for DevExpress controls.

See the following topic for more information: DevExpress Project Templates

Standard Project Templates

In Visual Studio, select File > New > Project. In the Create a new project window, find the .NET MAUI App template and click Next.

Create a new project

If you use standard templates, you should install DevExpress NuGet packages, register handlers, and declare XAML namespaces.

Enable the UseInterpreter property in the project file (.csproj). This setting allows you to avoid issues related to objects with virtual properties. If these properties are used in compiled lambda expressions, they can cause exceptions in released applications on iOS devices. Note that our Project Templates add this line automatically:


Install DevExpress NuGet Packages


Before you install DevExpress NuGet Packages, make certain to register the DevExpress NuGet gallery.

Topic: Register DevExpress NuGet Gallery to Access Mobile UI for .NET MAUI.

Follow the steps below to install NuGet packages:

  1. In the Solution Explorer window, right-click Dependencies and select Manage NuGet Packages.

    Visual Studio - Package Sources

  2. In the NuGet Package Manager window, select the DevExpress package source, activate the Browse tab, find the required DevExpress.Maui.~ package, and click Install.

    Visual Studio - Install Package

The DevExpress NuGet Gallery includes the following packages and components:

Contains the DataGridView component.
Contains DataFormView, Chip, ChoiceChipGroup and other chip groups, TextEdit, and other data editors.
Contains the DXCollectionView component.
Contains the ChartView and PieChartView components.
Contains the MonthView, WeekView, and other scheduler views.
Contains the TabView, DXPopup, and SimpleButton.

Register Handlers for DevExpress Components

The UseDevExpress method registers handlers for all DevExpress components. Call this method in the MauiProgram.cs file.

using DevExpress.Maui;

namespace DXMauiApp1 {
    public static class MauiProgram {
        public static MauiApp CreateMauiApp() {
            var builder = MauiApp.CreateBuilder();
                .ConfigureFonts(fonts => {
                    fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
                    fonts.AddFont("univia-pro-regular.ttf", "Univia-Pro");
                    fonts.AddFont("roboto-bold.ttf", "Roboto-Bold");
                    fonts.AddFont("roboto-regular.ttf", "Roboto");

            return builder.Build();

Declare XAML Namespaces

If an application page includes DevExpress components, declare XAML namespaces that refer to corresponding CLR namespaces. Review the markup below for more information:

  1. Declare the following DevExpress .NET MAUI XAML namespaces:
  2. Add a DataGridView instance to a page.
<ContentPage xmlns=""
See Also