New to Telerik UI for WPFStart a free 30-day trial

Represents the content of the font tab of the FormatCellsDialog.

Definition

Constructors

Initializes a new instance of the FontTabContent class.

C#
public FontTabContent()

Fields

ColorPaletteProperty

DependencyProperty

Color palette dependency property.

C#
public static readonly DependencyProperty ColorPaletteProperty

FontFamilyInfoProperty

DependencyProperty

Font family info dependency property.

C#
public static readonly DependencyProperty FontFamilyInfoProperty

FontFamilyInfosProperty

DependencyProperty

Font family infos dependency property.

C#
public static readonly DependencyProperty FontFamilyInfosProperty

FontSizesProperty

DependencyProperty

Selected sizes dependency property.

C#
public static readonly DependencyProperty FontSizesProperty

ForeColorProperty

DependencyProperty

Fore color dependency property.

C#
public static readonly DependencyProperty ForeColorProperty

IsStrikethroughProperty

DependencyProperty

IsStrikethrough dependency property.

C#
public static readonly DependencyProperty IsStrikethroughProperty

IsSubscriptProperty

DependencyProperty

IsSubscript dependency property.

C#
public static readonly DependencyProperty IsSubscriptProperty

IsSuperscriptProperty

DependencyProperty

IsSuperscript dependency property.

C#
public static readonly DependencyProperty IsSuperscriptProperty

SelectedFontSizeProperty

DependencyProperty

Selected font size dependency property.

C#
public static readonly DependencyProperty SelectedFontSizeProperty

SelectedFontStyleProperty

DependencyProperty

Selected font style dependency property.

C#
public static readonly DependencyProperty SelectedFontStyleProperty

UnderlineTypeProperty

DependencyProperty

Underline type dependency property.

C#
public static readonly DependencyProperty UnderlineTypeProperty

Properties

Gets or sets the color palette.

C#
public SpreadsheetColorPalette ColorPalette { get; set; }
Property Value:

The color palette.

Gets or sets the font family info.

C#
public FontFamilyInfo FontFamilyInfo { get; set; }
Property Value:

The font family info.

Gets or sets the font family infos.

C#
public IEnumerable<FontFamilyInfo> FontFamilyInfos { get; set; }
Property Value:

The font family infos.

Gets or sets the font sizes.

C#
public IEnumerable<double> FontSizes { get; set; }
Property Value:

The font sizes.

Gets the font styles.

C#
public ReadOnlyObservableCollection<RadFontStyle> FontStyles { get; }
Property Value:

The font styles.

Gets or sets the color of the fore.

C#
public Color ForeColor { get; set; }
Property Value:

The color of the fore.

Gets or sets a value indicating whether the selection has strikethrough.

C#
public bool IsStrikethrough { get; set; }
Property Value:

A value indicating whether the selection has strikethrough.

Gets or sets a value indicating whether the selection is subscript.

C#
public bool IsSubscript { get; set; }
Property Value:

A value indicating whether the selection is subscript.

Gets or sets a value indicating whether the selection is superscript.

C#
public bool IsSuperscript { get; set; }
Property Value:

A value indicating whether the selection is superscript.

Gets or sets the size of the selected font.

C#
public double SelectedFontSize { get; set; }
Property Value:

The size of the selected font.

Gets or sets the selected font style.

C#
public RadFontStyle SelectedFontStyle { get; set; }
Property Value:

The selected font style.

UnderlineType

UnderlineType

Gets or sets the type of the underline.

C#
public UnderlineType UnderlineType { get; set; }
Property Value:

The type of the underline.

Gets the underline types.

C#
public ReadOnlyObservableCollection<UnderlineType> UnderlineTypes { get; }
Property Value:

The underline types.

Methods

Copies the properties from context.

C#
public override void CopyPropertiesFromContext(IFontTabContext context)
Parameters:contextIFontTabContext

The context.

Overrides: FormatCellsTabContentBase<IFontTabContext>.CopyPropertiesFromContext(IFontTabContext)

Copies the properties to context.

C#
public override void CopyPropertiesToContext(IFontTabContext context)
Parameters:contextIFontTabContext

The context.

Overrides: FormatCellsTabContentBase<IFontTabContext>.CopyPropertiesToContext(IFontTabContext)

Called when changes are applying.

C#
public override void OnApplyingChanges()

Overrides: FormatCellsTabContentBase<IFontTabContext>.OnApplyingChanges()

When overridden in a derived class, is invoked whenever application code or internal processes call .

C#
public override void OnApplyTemplate()

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.