Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.dll

NuGet Package: DevExpress.AspNetCore.RichEdit

#Declaration

C#
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.

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