Class SyncfusionBlazorService
Represents an instance of Syncfusion Blazor service.
Implements
Inherited Members
Namespace: Syncfusion.Blazor
Assembly: Syncfusion.Blazor.dll
Syntax
public class SyncfusionBlazorService : IDisposable
Methods
Dispose()
Declaration
public void Dispose()
Dispose(bool)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
EnableRipple(bool)
Enable ripple effect to the Syncfusion Blazor components for material design theme.
Declaration
public void EnableRipple(bool enable = true)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | enable | Set false to disable ripple effect. |
EnableRtl(bool)
Enable right-to-left text direction to the Syncfusion Blazor components.
Declaration
public void EnableRtl(bool enable = true)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | 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 |
|---|---|
| ValueTask<bool> | Returns true, if the application rendering in mobile or IPad devices. |