Interface
IFontProperties

Defines font styling properties for cell text including family, size, weight, style, color, and underline.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Model

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

cs-api-definition
public interface IFontProperties

Properties

FontFamily

Gets the typeface family applied to the text.

Declaration

cs-api-definition
FontFamily FontFamily { get; }

Property Value

FontFamily

The font family.

FontSize

Gets the font size in points.

Declaration

cs-api-definition
double FontSize { get; }

Property Value

double

The size of the font.

FontStyle

Gets the style variant of the font, such as normal or italic.

Declaration

cs-api-definition
FontStyle FontStyle { get; }

Property Value

FontStyle

The font style.

FontWeight

Gets the numeric weight of the font, controlling thickness from light to heavy.

Declaration

cs-api-definition
FontWeight FontWeight { get; }

Property Value

FontWeight

The font weight.

ForeColor

Gets the text color, supporting theme colors or explicit RGB values.

Declaration

cs-api-definition
ThemableColor ForeColor { get; }

Property Value

ThemableColor

The font color.

IsBold

Gets whether the text uses bold weight rendering.

Declaration

cs-api-definition
bool IsBold { get; }

Property Value

bool

The value indicating whether the font is bold.

IsItalic

Gets whether the text uses italic slant styling.

Declaration

cs-api-definition
bool IsItalic { get; }

Property Value

bool

The value indicating whether the font is italic.

IsMonospaced

Gets whether the font uses fixed-width character spacing.

Declaration

cs-api-definition
bool IsMonospaced { get; }

Property Value

bool

The value indicating whether the text is monospaced.

Underline

Gets the underline style applied to the text.

Declaration

cs-api-definition
UnderlineType Underline { get; }

Property Value

UnderlineType

The underline.