Skip to main content
A newer version of this page is available.
All docs
V18.2
Row

Range.HasRichText Property

Gets a value indicating whether a cell contains rich formatted text.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v18.2.Core.dll

Declaration

bool HasRichText { get; }

Property Value

Type Description
Boolean

true, if a cell contains rich formatted text; otherwise, false.

Remarks

Use the HasRichText property to determine whether a cell contains rich formatted text. To retrieve rich text from a cell, use the cell’s Range.GetRichText method.

For a cell range, the HasRichText property returns true only when all cells in this range have the same text with identical rich format settings; otherwise, it returns false.

See Also