Skip to main content
You are viewing help content for pre-release software. This document and the features it describes are subject to change.

TabViewHandler Class

A .NET MAUI handler for the TabView control.

Namespace: DevExpress.Maui.Controls

Assembly: DevExpress.Maui.Controls.dll

Declaration

public class TabViewHandler :
    ViewHandler<TabView, DXTabControlUIView>

Remarks

To add a tab view to your .NET MAUI application, follow the steps below:

  1. Install the DevExpress.Maui.Controls NuGet package.
  2. In the MauiProgram.cs file, call the UseDevExpress method to register a handler for the TabView class:

    using Microsoft.Maui;
    using Microsoft.Maui.Hosting;
    using Microsoft.Maui.Controls.Hosting;
    using DevExpress.Maui.Controls;
    
    namespace TabViewExample {
        public static class MauiProgram {
            public static MauiApp CreateMauiApp() {
                var builder = MauiApp.CreateBuilder();
                builder
                    .UseDevExpress()
                    .UseMauiApp<App>()
                    .ConfigureFonts(fonts => {
                        fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
                    });
                return builder.Build();
            }
        }
    }
    

Read Tutorial View Example

Implements

Microsoft.Maui.INativeViewHandler
Microsoft.Maui.IViewHandler

Inheritance

Object
Microsoft.Maui.Handlers.ViewHandler
Microsoft.Maui.Handlers.ViewHandler<TabView, DevExpress.Navigation.iOS.DXTabControlUIView>
TabViewHandler
See Also