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
Derived Classes:
Properties
FontFamily
Gets the typeface family applied to the text.
Declaration
FontFamily FontFamily { get; }
Property Value
FontFamily
The font family.
FontSize
Gets the font size in points.
FontStyle
Gets the style variant of the font, such as normal or italic.
Declaration
FontStyle FontStyle { get; }
Property Value
FontStyle
The font style.
FontWeight
Gets the numeric weight of the font, controlling thickness from light to heavy.
Declaration
FontWeight FontWeight { get; }
Property Value
FontWeight
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.
IsStrikethrough
Gets whether the text has strikethrough decoration applied.
Declaration
bool IsStrikethrough { get; }
Property Value
The value indicating whether the font is strikethrough.
Underline
Gets the underline style applied to the text.
Declaration
UnderlineType Underline { get; }
Property Value
The underline.
VerticalTextAlignment
Gets the vertical text alignment (none, superscript, or subscript) applied to the text.
Declaration
VerticalTextAlignment VerticalTextAlignment { get; }
Property Value
The vertical text alignment.