HtmlEditorPlaceholderCollection Class
A collection of placeholders available in the HtmlEditor.
Namespace: DevExpress.Web.ASPxHtmlEditor
Assembly: DevExpress.Web.ASPxHtmlEditor.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Related API Members
The following members return HtmlEditorPlaceholderCollection objects:
Library | Related API Members |
---|---|
ASP.NET Web Forms Controls | ASPxHtmlEditor.Placeholders |
ASP.NET MVC Extensions | HtmlEditorSettings.Placeholders |
Remarks
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.