HtmlEditorExtension.GetHtml(String, ASPxHtmlEditorHtmlEditingSettings, HtmlEditorValidationSettings, EventHandler<HtmlEditorValidationEventArgs>, EventHandler<HtmlCorrectingEventArgs>, out Boolean) Method
Returns the HTML markup specifying a specific HtmlEditor’s content, updated based on the specified parameters.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public static string GetHtml(
string name,
ASPxHtmlEditorHtmlEditingSettings htmlEditingSettings,
HtmlEditorValidationSettings validationSettings,
EventHandler<HtmlEditorValidationEventArgs> validationDelegate,
EventHandler<HtmlCorrectingEventArgs> htmlCorrectionDelegate,
out bool isValid
)
#Parameters
Name | Type | Description |
---|---|---|
name | String | A string value that specifies the Html |
html |
ASPx |
A ASPx |
validation |
Html |
A Html |
validation |
Event |
A delegate method that implements custom validation logic. |
html |
Event |
A delegate method that implements custom check or transformation of the editor’s HTML code. |
is |
Boolean | true, if the editor content is valid; otherwise, false. |
#Returns
Type | Description |
---|---|
String | A string value specifying the editor’s HTML markup. |