menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SyncfusionBlazor - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SyncfusionBlazor

    An extension class controls methods to add the Syncfusion Blazor service to the service collection.

    Inheritance
    System.Object
    SyncfusionBlazor
    Namespace: Syncfusion.Blazor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public static class SyncfusionBlazor : Object

    Methods

    AddSyncfusionBlazor(IServiceCollection, Action<GlobalOptions>)

    Adds Syncfusion Blazor service to the service collection and configure components global options.

    Declaration
    public static IServiceCollection AddSyncfusionBlazor(this IServiceCollection services, Action<GlobalOptions> configure = null)
    Parameters
    Type Name Description
    Microsoft.Extensions.DependencyInjection.IServiceCollection services

    The collection of services.

    System.Action<GlobalOptions> configure

    A delegate that is used to configure GlobalOptions.

    Returns
    Type Description
    Microsoft.Extensions.DependencyInjection.IServiceCollection

    The collection of services.

    Examples
    services.AddSyncfusionBlazor(options =>
    {
        options.IgnoreScriptIsolation = true;
    });
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved