Back to Devexpress

IdxRichEditStyleCollection<T> Interface

vcl-dxrichedit-dot-nativeapi-dot-idxricheditstylecollection-1.md

latest2.1 KB
Original Source

IdxRichEditStyleCollection<T> Interface

An interface providing the basic functionality used by all document style collections.

Declaration

delphi
IdxRichEditStyleCollection<T: IInterface> = interface(IdxReadOnlyList<T>)

Remarks

This generic interface extends its ancestor with members that allow you to:

  • Create a new document style (CreateNew).

  • Mark a specific document style as deleted (Delete).

  • Add a style to a style collection of the current document (Add).

  • Obtain the number of document styles in a collection (Count and GetCount);

  • Access a specific document style by its name (GetItem).

The IdxRichEditStyleCollection generic interface instantiated with different types (IdxRichEditCharacterStyle, IdxRichEditParagraphStyle, and IdxRichEditTableStyle), is the direct ancestor of the IdxRichEditCharacterStyleCollection, IdxRichEditParagraphStyleCollection, and IdxRichEditTableStyleCollection interfaces that allow you to work with all types of styles in a document.

Inheritance

IInterface IdxReadOnlyList<T> IdxRichEditStyleCollection<T>

See Also

IdxRichEditStyleCollection<T> Members

dxRichEdit.NativeApi Unit