Class FormatFontDialogContext
Represents the context of the FormatFontDialog
Namespace: Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public class FormatFontDialogContext : RadSpreadsheetDialogContext, IFontTabContext, IFormatCellsTabContext
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
radSpreadSheet
The RadSpreadsheet. |
IFontPropertiesEditor
editor
The editor. |
Telerik.Windows.Documents.Spreadsheet.Model.ThemableFontFamily
defaultFontFamily
The default font family. |
System.Double
defaultFontSize
Default size of the font. |
Properties
FontFamily
Gets or sets the font family.
Declaration
public ThemableFontFamily FontFamily { get; set; }
Property Value
Telerik.Windows.Documents.Spreadsheet.Model.ThemableFontFamily
The font family. |
Implements
FontSize
Gets or sets the size of the font.
Declaration
public double FontSize { get; set; }
Property Value
System.Double
The size of the font. |
Implements
ForeColor
Gets or sets the forecolor.
Declaration
public ThemableColor ForeColor { get; set; }
Property Value
Telerik.Windows.Documents.Spreadsheet.Model.ThemableColor
The forecolor. |
Implements
IsBold
Gets or sets a value indicating whether the selection is bold.
Declaration
public bool IsBold { get; set; }
Property Value
System.Boolean
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
System.Boolean
The value indicating whether the selection is italic. |
Implements
Underline
Gets or sets the underline.
Declaration
public UnderlineType Underline { get; set; }
Property Value
Telerik.Windows.Documents.Spreadsheet.Model.UnderlineType
The underline. |
Implements
Visibility
Gets or sets the visibility.
Declaration
public Visibility Visibility { get; set; }
Property Value
System.Windows.Visibility
The visibility. |
Implements
Methods
ApplyChangesFromContext()
Applies the changes from context.
Declaration
public void ApplyChangesFromContext()