Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CharacterStyleCollection Members

In This Article
Represents a collection of character styles.

#Properties
Show Inherited Hide Inherited

Name Description
Count Gets the number of elements contained in the ICollection. Inherited from ICollection.
IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe). Inherited from ICollection.
Item[String] Gets the Character Style object specified by its name.
SyncRoot Gets an object that can be used to synchronize access to the ICollection. Inherited from ICollection.

#Methods
Show Inherited Hide Inherited

Name Description
Add(CharacterStyle) 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 character style.
Delete(CharacterStyle) 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(CharacterStyle) Restores the character style marked as deleted.
See Also