HtmlEditorSettings.SettingsPlaceholders Property

Provides access to placeholder settings.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v20.2.dll

Declaration

public HtmlEditorPlaceholdersSettings SettingsPlaceholders { get; }
Public ReadOnly Property SettingsPlaceholders As HtmlEditorPlaceholdersSettings

Property Value

Type Description
HtmlEditorPlaceholdersSettings

Placeholder settings.

Remarks

The following example illustrates how to specify custom characters for placeholders (Placeholders) instead of default curly braces {}:

@Html.DevExpress().HtmlEditor(
    settings => {
        settings.Name = "HtmlEditor";
        settings.SettingsPlaceholders.StartMark = "[";
        settings.SettingsPlaceholders.EndMark = "]";
    }
).Bind(Model.TemplateDocumentHtml).GetHtml()
See Also