ClassFontTabContent
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
FontTabContent()
Initializes a new instance of the FontTabContent class.
Declaration
public FontTabContent()
Fields
ColorPaletteProperty
Color palette dependency property.
Declaration
public static readonly DependencyProperty ColorPaletteProperty
Field Value
DependencyProperty
FontFamilyInfoProperty
Font family info dependency property.
Declaration
public static readonly DependencyProperty FontFamilyInfoProperty
Field Value
DependencyProperty
FontFamilyInfosProperty
Font family infos dependency property.
Declaration
public static readonly DependencyProperty FontFamilyInfosProperty
Field Value
DependencyProperty
FontSizesProperty
Selected sizes dependency property.
Declaration
public static readonly DependencyProperty FontSizesProperty
Field Value
DependencyProperty
ForeColorProperty
Fore color dependency property.
Declaration
public static readonly DependencyProperty ForeColorProperty
Field Value
DependencyProperty
SelectedFontSizeProperty
Selected font size dependency property.
Declaration
public static readonly DependencyProperty SelectedFontSizeProperty
Field Value
DependencyProperty
SelectedFontStyleProperty
Selected font style dependency property.
Declaration
public static readonly DependencyProperty SelectedFontStyleProperty
Field Value
DependencyProperty
UnderlineTypeProperty
Underline type dependency property.
Declaration
public static readonly DependencyProperty UnderlineTypeProperty
Field Value
DependencyProperty
Properties
ColorPalette
Gets or sets the color palette.
Declaration
public SpreadsheetColorPalette ColorPalette { get; set; }
Property Value
The color palette.
FontFamilyInfo
Gets or sets the font family info.
Declaration
public FontFamilyInfo FontFamilyInfo { get; set; }
Property Value
The font family info.
FontFamilyInfos
Gets or sets the font family infos.
Declaration
public IEnumerable<FontFamilyInfo> FontFamilyInfos { get; set; }
Property Value
The font family infos.
FontSizes
Gets or sets the font sizes.
Declaration
public IEnumerable<double> FontSizes { get; set; }
Property Value
The font sizes.
FontStyles
Gets the font styles.
Declaration
public ReadOnlyObservableCollection<RadFontStyle> FontStyles { get; }
Property Value
ReadOnlyObservableCollection<RadFontStyle>
The font styles.
ForeColor
Gets or sets the color of the fore.
Declaration
public Color ForeColor { get; set; }
Property Value
Color
The color of the fore.
SelectedFontSize
Gets or sets the size of the selected font.
Declaration
public double SelectedFontSize { get; set; }
Property Value
The size of the selected font.
SelectedFontStyle
Gets or sets the selected font style.
Declaration
public RadFontStyle SelectedFontStyle { get; set; }
Property Value
The selected font style.
UnderlineType
Gets or sets the type of the underline.
Declaration
public UnderlineType UnderlineType { get; set; }
Property Value
UnderlineType
The type of the underline.
UnderlineTypes
Gets the underline types.
Declaration
public ReadOnlyObservableCollection<UnderlineType> UnderlineTypes { get; }
Property Value
ReadOnlyObservableCollection<UnderlineType>
The underline types.
Methods
CopyPropertiesFromContext(IFontTabContext)
Copies the properties from context.
Declaration
public override void CopyPropertiesFromContext(IFontTabContext context)
Parameters
context
The context.
Overrides
CopyPropertiesToContext(IFontTabContext)
Copies the properties to context.
Declaration
public override void CopyPropertiesToContext(IFontTabContext context)
Parameters
context
The context.
Overrides
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call .
Declaration
public override void OnApplyTemplate()
OnApplyingChanges()
Called when changes are applying.
Declaration
public override void OnApplyingChanges()
Overrides
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.