Back to Devexpress

ASPxHtmlEditor.Placeholders Property

aspnet-devexpress-dot-web-dot-aspxhtmleditor-dot-aspxhtmleditor-1615e2d6.md

latest2.3 KB
Original Source

ASPxHtmlEditor.Placeholders Property

Gets the collection of placeholders available in the ASPxHtmlEditor.

Namespace : DevExpress.Web.ASPxHtmlEditor

Assembly : DevExpress.Web.ASPxHtmlEditor.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public HtmlEditorPlaceholderCollection Placeholders { get; }
vb
Public ReadOnly Property Placeholders As HtmlEditorPlaceholderCollection

Property Value

TypeDescription
HtmlEditorPlaceholderCollection

An HtmlEditorPlaceholderCollection object that is the collection of the placeholders.

|

Remarks

The ASPxHtmlEditor control allows end-users to add placeholders to the editor content. The placeholders can then be replaced with the required values.

Use the Placeholders property to access a collection of placeholders in the ASPxHtmlEditor. The collection provides methods and properties that allow you to add new items and remove existing ones, access individual items, etc.

By default, placeholders are surrounded with curly braces {}. The ASPxHtmlEditor.SettingsPlaceholders property provides access to the settings that are used to specify custom characters instead of default ones.

See Also

HTML Editor

Online Demo: HTML Editor - Placeholders (Mail Merge)

ASPxHtmlEditor Class

ASPxHtmlEditor Members

DevExpress.Web.ASPxHtmlEditor Namespace