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 Format
Declaration
public FormatFontDialogContext(RadSpreadsheet radSpreadSheet, IFontPropertiesEditor editor, ThemableFontFamily defaultFontFamily, double defaultFontSize)
Parameters
Rad The RadSpreadsheet. |
IFont The editor. |
Telerik. The default font family. |
System. Default size of the font. |
Properties
FontFamily
Gets or sets the font family.
Declaration
public ThemableFontFamily FontFamily { get; set; }
Property Value
Telerik. The font family. |
Implements
FontSize
Gets or sets the size of the font.
Declaration
public double FontSize { get; set; }
Property Value
System. The size of the font. |
Implements
ForeColor
Gets or sets the forecolor.
Declaration
public ThemableColor ForeColor { get; set; }
Property Value
Telerik. The forecolor. |
Implements
IsBold
Gets or sets a value indicating whether the selection is bold.
Declaration
public bool IsBold { get; set; }
Property Value
System. 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. The value indicating whether the selection is italic. |
Implements
Underline
Gets or sets the underline.
Declaration
public UnderlineType Underline { get; set; }
Property Value
Telerik. The underline. |
Implements
Visibility
Gets or sets the visibility.
Declaration
public Visibility Visibility { get; set; }
Property Value
System. The visibility. |
Implements
Methods
ApplyChangesFromContext()
Applies the changes from context.
Declaration
public void ApplyChangesFromContext()