HtmlEditorBuilder.Content(String) Method
In This Article
Specifies content for a HtmlEditor control.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public HtmlEditorBuilder Content(
string content
)
#Parameters
Name | Type | Description |
---|---|---|
content | String | A string that specifies content. |
#Returns
Type | Description |
---|---|
Html |
A reference to this instance after the method is called. |
#Remarks
Refer to Use Markup to Specify Content for more information.
@(Html.DevExtreme().HtmlEditor()
.Content("<p>HtmlEditor content</p>")
)
See Also