HtmlEditorExtension.GetHtml(String, ASPxHtmlEditorHtmlEditingSettings, HtmlEditorValidationSettings, out Boolean) Method
Returns the HTML markup specifying a specific HtmlEditor’s content, validated based on both the passed editing and validation settings, and indicates whether the editor content is valid.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
Declaration
public static string GetHtml(
string name,
ASPxHtmlEditorHtmlEditingSettings htmlEditingSettings,
HtmlEditorValidationSettings validationSettings,
out bool isValid
)
Parameters
Name | Type | Description |
---|---|---|
name | String | A string value that specifies the HtmlEditor’s name (SettingsBase.Name). |
htmlEditingSettings | ASPxHtmlEditorHtmlEditingSettings | A ASPxHtmlEditorHtmlEditingSettings object that contains settings related to the specified editor’s HTML editing functionality. |
validationSettings | HtmlEditorValidationSettings | A HtmlEditorValidationSettings object containing the settings that relate to editor content validation. |
isValid | Boolean | true if the editor content is valid; otherwise, false. |
Returns
Type | Description |
---|---|
String | A string value specifying the editor’s HTML markup. |
See Also