Skip to main content

HtmlEditorPlaceholderCollection Class

A collection of placeholders available in the HtmlEditor.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v23.1.dll

NuGet Package: DevExpress.Web


public class HtmlEditorPlaceholderCollection :

The following members return HtmlEditorPlaceholderCollection objects:

Library Related API Members
ASP.NET Web Forms Controls ASPxHtmlEditor.Placeholders
ASP.NET MVC Extensions HtmlEditorSettings.Placeholders


The HtmlEditor holds its placeholders (which can be replaced with the required values in the editor content) within a collection represented by an instance of the HtmlEditorPlaceholderCollection class. This collection can be accessed via the ASPxHtmlEditor.Placeholders property. The properties and methods exposed by the HtmlEditorPlaceholderCollection class can be used to perform common collection operations such as adding new or deleting existing placeholders. Each item of the collection is represented by a HtmlEditorPlaceholderItem object. Individual placeholders can be accessed using indexer notation.

See Also