Search
AppBuilderExtensions.UseMindFusionDiagramming Method
See Also
 






Registers MAUI handler classes for MindFusion.Diagramming controls.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public static MauiAppBuilder UseMindFusionDiagramming (
    MauiAppBuilder builder
)

Visual Basic  Copy Code

Public Shared Function UseMindFusionDiagramming( _
    builder As MauiAppBuilder _
) As MauiAppBuilder

 Parameters

builder

The MauiAppBuilder instance.

 Return Value

The MauiAppBuilder instance.

 Example

C#  Copy Code

public static MauiApp CreateMauiApp()
{
    var builder = MauiApp.CreateBuilder();
    builder
        .UseMauiApp<App>()
        .UseMindFusionDiagramming()
        .ConfigureFonts(fonts =>
        {
            fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
            fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
    });

    return builder.Build();
}

 See Also