Class FormatFontDialogContext
Represents the context of the FormatFontDialog
Inherited Members
Namespace: Telerik.WinForms.Controls.Spreadsheet.Dialogs
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public class FormatFontDialogContext : RadSpreadsheetDialogContext, IFontTabContext, IFormatCellsTabContext
Constructors
FormatFontDialogContext(RadSpreadsheetElement, IFontPropertiesEditor, ThemableFontFamily, Double)
Initializes a new instance of the FormatFontDialogContext class.
Declaration
public FormatFontDialogContext(RadSpreadsheetElement radSpreadSheet, IFontPropertiesEditor editor, ThemableFontFamily defaultFontFamily, double defaultFontSize)
Parameters
RadSpreadsheetElement
radSpreadSheet
The RadSpreadsheet. |
IFontPropertiesEditor
editor
The editor. |
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
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
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
RadSpreadsheetElement
Declaration
public RadSpreadsheetElement RadSpreadsheetElement { get; }
Property Value
RadSpreadsheetElement
|
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
System.Windows.Visibility
The visibility. |
Methods
ApplyChangesFromContext()
Applies the changes from context.
Declaration
public void ApplyChangesFromContext()
Implements
Explicit Interface Implementations
IFormatCellsTabContext.Visibility
Declaration
ElementVisibility IFormatCellsTabContext.Visibility { get; set; }
Returns
ElementVisibility
|