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

TcxCustomRichEdit.SelAttributes Property

Describes the rich text characteristics of the selected text in the rich edit control.

#Declaration

Delphi
property SelAttributes: TTextAttributes read; write;

#Property Value

Type
TTextAttributes

#Remarks

Use the SelAttributes property to retrieve or set the font characteristics of the currently selected text. The SelAttributes property specifies the text’s characteristics such as the font face, color, size, style, and pitch. To change all the attributes of the currently selected text, set the SelAttributes property to a TTextAttributes object that represents the desired attributes configuration. If no text is selected, the SelAttributes property represents the attributes at the cursor’s position.

When inserting new text, the font characteristics of the new text will match the SelAttributes property’s values.

Note

The SelAttributes property’s values are only available at run time.

See Also