Back to Devexpress

HtmlEditorPlaceholderCollection Class

aspnet-devexpress-dot-web-dot-aspxhtmleditor-b08d3989.md

latest3.5 KB
Original Source

HtmlEditorPlaceholderCollection Class

A collection of placeholders available in the HtmlEditor.

Namespace : DevExpress.Web.ASPxHtmlEditor

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

NuGet Package : DevExpress.Web

Declaration

csharp
public class HtmlEditorPlaceholderCollection :
    Collection<HtmlEditorPlaceholderItem>
vb
Public Class HtmlEditorPlaceholderCollection
    Inherits Collection(Of HtmlEditorPlaceholderItem)

The following members return HtmlEditorPlaceholderCollection objects:

LibraryRelated API Members
ASP.NET Web Forms ControlsASPxHtmlEditor.Placeholders
ASP.NET MVC ExtensionsHtmlEditorSettings.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.

Implements

IList

ICollection

IStateManager

DevExpress.Utils.IAssignableCollection

IList<HtmlEditorPlaceholderItem>

ICollection<HtmlEditorPlaceholderItem>

IEnumerable<HtmlEditorPlaceholderItem>

IEnumerable

Inheritance

Object StateManagedCollectionBase Collection Collection<HtmlEditorPlaceholderItem> HtmlEditorPlaceholderCollection

See Also

HtmlEditorPlaceholderCollection Members

Online Demo: HTML Editor - Placeholders (Mail Merge)

DevExpress.Web.ASPxHtmlEditor Namespace