.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

ParagraphStyleCollection.Add(ParagraphStyle) Method

Add a style to the collection of styles in the current document.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v19.1.Core.dll


void Add(
    ParagraphStyle style


Name Type Description
style ParagraphStyle

A ParagraphStyle class instance representing a paragraph style.


A collection of styles in the document can be accessed via the Document.ParagraphStyles property. To create a new style, use the ParagraphStyleCollection.CreateNew method.

See Also