InterfaceIFontProperties
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:
public interface IFontProperties
Properties
FontFamily
Gets the typeface family applied to the text.
Declaration
FontFamily FontFamily { get; }
Property Value
The font family.
FontSize
Gets the font size in points.
FontStyle
Gets the style variant of the font, such as normal or italic.
FontWeight
Gets the numeric weight of the font, controlling thickness from light to heavy.
Declaration
FontWeight FontWeight { get; }
Property Value
The font weight.
ForeColor
Gets the text color, supporting theme colors or explicit RGB values.
Declaration
ThemableColor ForeColor { get; }
Property Value
The font color.
IsBold
Gets whether the text uses bold weight rendering.
Declaration
bool IsBold { get; }
Property Value
The value indicating whether the font is bold.
IsItalic
Gets whether the text uses italic slant styling.
Declaration
bool IsItalic { get; }
Property Value
The value indicating whether the font is italic.
IsMonospaced
Gets whether the font uses fixed-width character spacing.
Declaration
bool IsMonospaced { get; }
Property Value
The value indicating whether the text is monospaced.
Underline
Gets the underline style applied to the text.
Declaration
UnderlineType Underline { get; }
Property Value
The underline.