Back to Devexpress

SpellCheckExtensions.AddSpellCheck(IDevExpressBlazorBuilder) Method

blazor-devexpress-dot-blazor-dot-richedit-dot-spellcheck-dot-spellcheckextensions-dot-addspellcheck-x28-microsoft-dot-extensions-dot-dependencyinjection-dot-idevexpressblazorbuilder-x29.md

latest1.8 KB
Original Source

SpellCheckExtensions.AddSpellCheck(IDevExpressBlazorBuilder) Method

Adds the built-in spell check service to the application’s service collection and configures the service options.

Namespace : DevExpress.Blazor.RichEdit.SpellCheck

Assembly : DevExpress.Blazor.RichEdit.v25.2.dll

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public static IDevExpressBlazorBuilder AddSpellCheck(
    this IDevExpressBlazorBuilder builder
)

Parameters

NameTypeDescription
builderIDevExpressBlazorBuilder

An object that can be used to configure internal DevExpress Blazor services.

|

Returns

TypeDescription
IDevExpressBlazorBuilder

An object that can be used to further configure internal DevExpress Blazor services.

|

Remarks

Call the AddSpellCheck method at application startup to register the built-in spell check service.

csharp
var builder = WebApplication.CreateBuilder(args);
// ...
builder.Services.AddDevExpressBlazor().AddSpellCheck();
// ...
var app = builder.Build();

See Also

SpellCheckExtensions Class

SpellCheckExtensions Members

DevExpress.Blazor.RichEdit.SpellCheck Namespace