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:
- Install the DevExpress.Maui.Controls NuGet package.
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(); } } }
Implements
Microsoft.Maui.INativeViewHandler
Microsoft.Maui.IViewHandler
Inheritance
See Also