Back to Devexpress

ParagraphStyleCollection Members

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

latest3.4 KB
Original Source

ParagraphStyleCollection Members

Represents a collection of paragraph styles.

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.
Item[String]Gets the Paragraph Style object specified by its name.
SyncRootGets an object that can be used to synchronize access to the ICollection. Inherited from ICollection.

Methods

NameDescription
Add(ParagraphStyle)Add a style to the collection of styles in the current document.
CopyTo(Array, Int32)Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection.
CreateNew()Creates a new paragraph style.
Delete(ParagraphStyle)Marks the specified style as deleted, so it can no longer be applied.
GetEnumerator()Returns an enumerator that iterates through the collection. Inherited from IEnumerable<T>.
Restore(ParagraphStyle)Restores the paragraph style marked as deleted.

See Also

ParagraphStyleCollection Interface

DevExpress.XtraRichEdit.API.Native Namespace