Back to Devexpress

ContentControlCollection Members

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-contentcontrolcollection-dot-underscore-members.md

latest4.3 KB
Original Source

ContentControlCollection Members

A collection of content controls in a document.

Properties

NameDescription
CountGets the number of elements contained in the ICollection. Inherited from ICollection.
IsSynchronizedGets a value indicating whether access to the ICollection is synchronized (thread safe). Inherited from ICollection.
SyncRootGets an object that can be used to synchronize access to the ICollection. Inherited from ICollection.

Methods

NameDescription
CopyTo(Array, Int32)Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection.
GetEnumerator()Returns an enumerator that iterates through the collection. Inherited from IEnumerable<T>.
InsertCheckboxControl(DocumentPosition)Inserts a checkbox content control at the specified document position.
InsertComboBoxControl(DocumentPosition)Inserts a combo box content control at the specified document position.
InsertDatePickerControl(DocumentPosition)Creates a date picker content control at the specified document position.
InsertDropDownListControl(DocumentPosition)Creates a drop-down list content control at the specified document position.
InsertPlainTextControl(DocumentPosition)Creates a plain text content control at the specified document position.
InsertRichTextControl(DocumentPosition)Creates a plain text content control at the specified document position.
Remove(ContentControlBase, Boolean)Removes the specific content control from the collection. Allows you to specify whether to keep the content control contents.

See Also

ContentControlCollection Interface

DevExpress.XtraRichEdit.API.Native Namespace