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
public static RichEditBuilder RichEdit(
this BuilderFactory factory,
string name
)
#Parameters
Name | Type | Description |
---|---|---|
factory | Builder |
The Builder |
name | String | An identifier for the element representing the Rich Text Editor on the page. |
#Returns
Type | Description |
---|---|
Rich |
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")
)