New to Telerik UI for WPFStart a free 30-day trial

Represents base for the font tab context classes.

Definition

Constructors

Initializes a new instance of the FontTabContextBase class.

C#
protected FontTabContextBase(RadSpreadsheet radSpreadsheet, CellStyle cellStyle = null)
Parameters:radSpreadsheetRadSpreadsheet

The RadSpreadsheet.

cellStyleCellStyle

The cell style.

Initializes a new instance of the FontTabContextBase class.

C#
protected FontTabContextBase(RadSpreadsheet radSpreadsheet, DifferentialFormatting differentialFormatting = null)
Parameters:radSpreadsheetRadSpreadsheet

The RadSpreadsheet.

differentialFormattingDifferentialFormatting

The differential formatting for the condittional formatting.

Properties

FontFamily

ThemableFontFamily

Gets or sets the font family.

C#
public ThemableFontFamily FontFamily { get; set; }
Property Value:

The font family.

Implements: IFontTabContext.FontFamily

Gets or sets the size of the font.

C#
public double FontSize { get; set; }
Property Value:

The size of the font.

Implements: IFontTabContext.FontSize

ForeColor

ThemableColor

Gets or sets the forecolor.

C#
public ThemableColor ForeColor { get; set; }
Property Value:

The forecolor.

Implements: IFontTabContext.ForeColor

Gets or sets a value indicating whether the selection is bold.

C#
public bool IsBold { get; set; }
Property Value:

The value indicating whether the selection is bold.

Implements: IFontTabContext.IsBold

Gets or sets a value indicating whether the selection is italic.

C#
public bool IsItalic { get; set; }
Property Value:

The value indicating whether the selection is italic.

Implements: IFontTabContext.IsItalic

Gets or sets a value indicating whether the selection has strikethrough.

C#
public bool IsStrikethrough { get; set; }
Property Value:

The value indicating whether the selection has strikethrough.

Implements: IFontTabContext.IsStrikethrough

Underline

UnderlineType

Gets or sets the underline.

C#
public UnderlineType Underline { get; set; }
Property Value:

The underline.

Implements: IFontTabContext.Underline

VerticalTextAlignment

VerticalTextAlignment

Gets or sets the vertical text alignment (baseline, superscript, or subscript).

C#
public VerticalTextAlignment VerticalTextAlignment { get; set; }
Property Value:

The vertical text alignment.

Implements: IFontTabContext.VerticalTextAlignment