Skip to main content
Row

SpreadsheetFontProperties.Color Property

Gets or sets the color of the font applied to the given characters.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

Color? Color { get; set; }

Property Value

Type Description
Nullable<Color>

A Color structure that specifies the font color. Null for a mixture of color values.

Remarks

Use the SpreadsheetFontProperties object’s properties to view or change font characteristics for a portion of cell text specified by the RichTextString.Characters method.

For an example on how to apply formatting to the specified characters within the cell text, refer to the How to: Apply Rich Formatting to Cell Text article.

See Also