Skip to main content

BuilderFactoryRichEditExtensions.RichEdit(BuilderFactory, String) Method

An extension method of the BuilderFactoryRichEditExtensions class required to create a Rich Text Editor builder.

Namespace: DevExpress.AspNetCore

Assembly: DevExpress.AspNetCore.RichEdit.v24.1.dll

NuGet Package: DevExpress.AspNetCore.RichEdit

Declaration

public static RichEditBuilder RichEdit(
    this BuilderFactory factory,
    string name
)

Parameters

Name Type Description
factory BuilderFactory

The BuilderFactory‘ instance this method extends.

name String

An identifier for the element representing the Rich Text Editor on the page.

Returns

Type Description
RichEditBuilder

An object required to build the Rich Text Editor.

Remarks

Use this extension method to create a Rich Text Editor. The element’s identifier is specified using the value passed as the name parameter.

@(Html.DevExpress().RichEdit("richEdit")
    .Height(600)
    .Open("Documents/Example.docx")
)
See Also