ClassFormatFontDialogContext
Represents the context of the FormatFontDialog
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class FormatFontDialogContext : RadSpreadsheetDialogContext, IFontTabContext, IFormatCellsTabContext
Inheritance: objectRadSpreadsheetDialogContextFormatFontDialogContext
Implements:
Inherited Members
Constructors
FormatFontDialogContext(RadSpreadsheet, IFontPropertiesEditor, ThemableFontFamily, double)
Initializes a new instance of the FormatFontDialogContext class.
Declaration
public FormatFontDialogContext(RadSpreadsheet radSpreadSheet, IFontPropertiesEditor editor, ThemableFontFamily defaultFontFamily, double defaultFontSize)
Parameters
radSpreadSheet
The RadSpreadsheet.
editor
The editor.
defaultFontFamily
ThemableFontFamily
The default font family.
defaultFontSize
Default size of the font.
Properties
FontFamily
Gets or sets the font family.
Declaration
public ThemableFontFamily FontFamily { get; set; }
Property Value
ThemableFontFamily
The font family.
Implements
FontSize
Gets or sets the size of the font.
Declaration
public double FontSize { get; set; }
Property Value
The size of the font.
Implements
ForeColor
Gets or sets the forecolor.
Declaration
public ThemableColor ForeColor { get; set; }
Property Value
ThemableColor
The forecolor.
Implements
IsBold
Gets or sets a value indicating whether the selection is bold.
Declaration
public bool IsBold { get; set; }
Property Value
The value indicating whether the selection is bold.
Implements
IsItalic
Gets or sets a value indicating whether the selection is italic.
Declaration
public bool IsItalic { get; set; }
Property Value
The value indicating whether the selection is italic.
Implements
Underline
Gets or sets the underline.
Declaration
public UnderlineType Underline { get; set; }
Property Value
UnderlineType
The underline.
Implements
Visibility
Gets or sets the visibility.
Declaration
public Visibility Visibility { get; set; }
Property Value
Visibility
The visibility.
Implements
Methods
ApplyChangesFromContext()
Applies the changes from context.
Declaration
public void ApplyChangesFromContext()
Implements