Class
FormatFontDialogContext

Represents the context of the FormatFontDialog

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class FormatFontDialogContext : RadSpreadsheetDialogContext, IFontTabContext, IFormatCellsTabContext

Inheritance: objectRadSpreadsheetDialogContextFormatFontDialogContext

Implements: IFontTabContextIFormatCellsTabContext

Inherited Members RadSpreadsheetDialogContext.RadSpreadsheetRadSpreadsheetDialogContext.Owner

Constructors

FormatFontDialogContext(RadSpreadsheet, IFontPropertiesEditor, ThemableFontFamily, double)

Initializes a new instance of the FormatFontDialogContext class.

Declaration

cs-api-definition
public FormatFontDialogContext(RadSpreadsheet radSpreadSheet, IFontPropertiesEditor editor, ThemableFontFamily defaultFontFamily, double defaultFontSize)

Parameters

radSpreadSheet

RadSpreadsheet

The RadSpreadsheet.

editor

IFontPropertiesEditor

The editor.

defaultFontFamily

ThemableFontFamily

The default font family.

defaultFontSize

double

Default size of the font.

Properties

FontFamily

Gets or sets the font family.

Declaration

cs-api-definition
public ThemableFontFamily FontFamily { get; set; }

Property Value

ThemableFontFamily

The font family.

Implements IFontTabContext.FontFamily

FontSize

Gets or sets the size of the font.

Declaration

cs-api-definition
public double FontSize { get; set; }

Property Value

double

The size of the font.

Implements IFontTabContext.FontSize

ForeColor

Gets or sets the forecolor.

Declaration

cs-api-definition
public ThemableColor ForeColor { get; set; }

Property Value

ThemableColor

The forecolor.

Implements IFontTabContext.ForeColor

IsBold

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

Declaration

cs-api-definition
public bool IsBold { get; set; }

Property Value

bool

The value indicating whether the selection is bold.

Implements IFontTabContext.IsBold

IsItalic

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

Declaration

cs-api-definition
public bool IsItalic { get; set; }

Property Value

bool

The value indicating whether the selection is italic.

Implements IFontTabContext.IsItalic

Underline

Gets or sets the underline.

Declaration

cs-api-definition
public UnderlineType Underline { get; set; }

Property Value

UnderlineType

The underline.

Implements IFontTabContext.Underline

Visibility

Gets or sets the visibility.

Declaration

cs-api-definition
public Visibility Visibility { get; set; }

Property Value

Visibility

The visibility.

Implements IFormatCellsTabContext.Visibility

Methods

ApplyChangesFromContext()

Applies the changes from context.

Declaration

cs-api-definition
public void ApplyChangesFromContext()

Implements IFormatCellsTabContext.ApplyChangesFromContext()