FontTabContent
Represents the content of the font tab of the FormatCellsDialog.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class FontTabContent : FormatCellsTabContentBase<IFontTabContext>, IFormatCellsTabContent<IFontTabContext>, IFormatCellsTabContent
Inheritance: objectControlBaseFormatCellsTabContentBase<IFontTabContext>FontTabContent
Implements:
Inherited Members
Constructors
Initializes a new instance of the FontTabContent class.
public FontTabContent()
Fields
ColorPaletteProperty
DependencyProperty
Color palette dependency property.
public static readonly DependencyProperty ColorPaletteProperty
FontFamilyInfoProperty
DependencyProperty
Font family info dependency property.
public static readonly DependencyProperty FontFamilyInfoProperty
FontFamilyInfosProperty
DependencyProperty
Font family infos dependency property.
public static readonly DependencyProperty FontFamilyInfosProperty
FontSizesProperty
DependencyProperty
Selected sizes dependency property.
public static readonly DependencyProperty FontSizesProperty
ForeColorProperty
DependencyProperty
Fore color dependency property.
public static readonly DependencyProperty ForeColorProperty
IsStrikethroughProperty
DependencyProperty
IsStrikethrough dependency property.
public static readonly DependencyProperty IsStrikethroughProperty
IsSubscriptProperty
DependencyProperty
IsSubscript dependency property.
public static readonly DependencyProperty IsSubscriptProperty
IsSuperscriptProperty
DependencyProperty
IsSuperscript dependency property.
public static readonly DependencyProperty IsSuperscriptProperty
SelectedFontSizeProperty
DependencyProperty
Selected font size dependency property.
public static readonly DependencyProperty SelectedFontSizeProperty
SelectedFontStyleProperty
DependencyProperty
Selected font style dependency property.
public static readonly DependencyProperty SelectedFontStyleProperty
UnderlineTypeProperty
DependencyProperty
Underline type dependency property.
public static readonly DependencyProperty UnderlineTypeProperty
Properties
Gets or sets the color palette.
public SpreadsheetColorPalette ColorPalette { get; set; }
The color palette.
Gets or sets the font family info.
public FontFamilyInfo FontFamilyInfo { get; set; }
The font family info.
Gets or sets the font family infos.
public IEnumerable<FontFamilyInfo> FontFamilyInfos { get; set; }
The font family infos.
Gets or sets the font sizes.
public IEnumerable<double> FontSizes { get; set; }
The font sizes.
Gets the font styles.
public ReadOnlyObservableCollection<RadFontStyle> FontStyles { get; }
The font styles.
ForeColor
Color
Gets or sets the color of the fore.
public Color ForeColor { get; set; }
The color of the fore.
Gets or sets a value indicating whether the selection has strikethrough.
public bool IsStrikethrough { get; set; }
A value indicating whether the selection has strikethrough.
Gets or sets a value indicating whether the selection is subscript.
public bool IsSubscript { get; set; }
A value indicating whether the selection is subscript.
Gets or sets a value indicating whether the selection is superscript.
public bool IsSuperscript { get; set; }
A value indicating whether the selection is superscript.
Gets or sets the size of the selected font.
public double SelectedFontSize { get; set; }
The size of the selected font.
Gets or sets the selected font style.
public RadFontStyle SelectedFontStyle { get; set; }
The selected font style.
UnderlineType
UnderlineType
Gets or sets the type of the underline.
public UnderlineType UnderlineType { get; set; }
The type of the underline.
UnderlineTypes
ReadOnlyObservableCollection<UnderlineType>
Gets the underline types.
public ReadOnlyObservableCollection<UnderlineType> UnderlineTypes { get; }
The underline types.
Methods
Copies the properties from context.
public override void CopyPropertiesFromContext(IFontTabContext context)
The context.
Overrides:
Copies the properties to context.
public override void CopyPropertiesToContext(IFontTabContext context)
The context.
Overrides:
Called when changes are applying.
public override void OnApplyingChanges()
Overrides:
When overridden in a derived class, is invoked whenever application code or internal processes call .
public override void OnApplyTemplate()
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.