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

IdxRichEditCharacterStyle.Primary Property

Specifies whether the character style is primary for a parent document.

#Declaration

Delphi
property Primary: Boolean read; write;

#Property Value

Type
Boolean

#Remarks

A primary character or paragraph style is considered public, and is available for use via an application’s UI elements, such as the Rich Edit control’s automatically generated Styles Gallery.

Set the Primary property to True or False to publish or hide the character style in an opened document. Only the RTF, DOCX, and DOC file import and export routines take this property value into account. Different supported document formats persist a character style status in different ways as listed in the IdxRichEditParagraphStyle.Primary property description.

The default Primary property value is False.

See Also