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
Initializes a new instance of the FormatFontDialogContext class.
public FormatFontDialogContext(RadSpreadsheet radSpreadSheet, IFontPropertiesEditor editor, ThemableFontFamily defaultFontFamily, double defaultFontSize)
The RadSpreadsheet.
editorIFontPropertiesEditorThe editor.
defaultFontFamilyThemableFontFamilyThe default font family.
defaultFontSizedoubleDefault size of the font.
Properties
FontFamily
ThemableFontFamily
Gets or sets the font family.
public ThemableFontFamily FontFamily { get; set; }
The font family.
Implements:
Gets or sets the size of the font.
public double FontSize { get; set; }
The size of the font.
Implements:
ForeColor
ThemableColor
Gets or sets the forecolor.
public ThemableColor ForeColor { get; set; }
The forecolor.
Implements:
Gets or sets a value indicating whether the selection is bold.
public bool IsBold { get; set; }
The value indicating whether the selection is bold.
Implements:
Gets or sets a value indicating whether the selection is italic.
public bool IsItalic { get; set; }
The value indicating whether the selection is italic.
Implements:
Gets or sets a value indicating whether the selection has strikethrough.
public bool IsStrikethrough { get; set; }
The value indicating whether the selection has strikethrough.
Implements:
Underline
UnderlineType
Gets or sets the underline.
public UnderlineType Underline { get; set; }
The underline.
Implements:
VerticalTextAlignment
VerticalTextAlignment
Gets or sets the vertical text alignment (baseline, superscript, or subscript).
public VerticalTextAlignment VerticalTextAlignment { get; set; }
The vertical text alignment.
Implements:
Visibility
Visibility
Gets or sets the visibility.
public Visibility Visibility { get; set; }
The visibility.
Implements:
Methods
Applies the changes from context.
public void ApplyChangesFromContext()
Implements: