Blazor

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SyncfusionBlazorService

    Show / Hide Table of Contents

    Class SyncfusionBlazorService

    Represents an instance of Syncfusion Blazor service.

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

    Methods

    EnableRipple(Boolean)

    Enable ripple effect to the Syncfusion Blazor components for material design theme.

    Declaration
    public void EnableRipple(bool enable = true)
    Parameters
    Type Name Description
    System.Boolean enable

    Set false to disable ripple effect.

    EnableRtl(Boolean)

    Enable right-to-left text direction to the Syncfusion Blazor components.

    Declaration
    public void EnableRtl(bool enable = true)
    Parameters
    Type Name Description
    System.Boolean enable

    Set false to disable right-to-left text direction.

    IsDevice()

    Returns true when the application is running on a mobile or IPad device. This method should be called only in the OnAfterRenderAsync life cycle method.

    Declaration
    public ValueTask<bool> IsDevice()
    Returns
    Type Description
    System.Threading.Tasks.ValueTask<System.Boolean>

    Returns true, if the application rendering in mobile or IPad devices.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved