Class
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:

cs-api-definition
public class FontTabContent : FormatCellsTabContentBase<IFontTabContext>, IFormatCellsTabContent<IFontTabContext>, IFormatCellsTabContent

Inheritance: objectControlBaseFormatCellsTabContentBase<IFontTabContext>FontTabContent

Implements: IFormatCellsTabContentIFormatCellsTabContent<IFontTabContext>

Inherited Members FormatCellsTabContentBase<IFontTabContext>.CopyPropertiesToContext(IFormatCellsTabContext)FormatCellsTabContentBase<IFontTabContext>.CopyPropertiesFromContext(IFormatCellsTabContext)FormatCellsTabContentBase<IFontTabContext>.OnWindowClosed()FormatCellsTabContentBase<IFontTabContext>.IsPreventApplyingChangesControlBase.GetTemplateChild<T>(string)ControlBase.GetRequiredTemplateChild<T>(string, bool)

Constructors

FontTabContent()

Initializes a new instance of the FontTabContent class.

Declaration

cs-api-definition
public FontTabContent()

Fields

ColorPaletteProperty

Color palette dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ColorPaletteProperty

Field Value

DependencyProperty

FontFamilyInfoProperty

Font family info dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FontFamilyInfoProperty

Field Value

DependencyProperty

FontFamilyInfosProperty

Font family infos dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FontFamilyInfosProperty

Field Value

DependencyProperty

FontSizesProperty

Selected sizes dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FontSizesProperty

Field Value

DependencyProperty

ForeColorProperty

Fore color dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ForeColorProperty

Field Value

DependencyProperty

SelectedFontSizeProperty

Selected font size dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectedFontSizeProperty

Field Value

DependencyProperty

SelectedFontStyleProperty

Selected font style dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectedFontStyleProperty

Field Value

DependencyProperty

UnderlineTypeProperty

Underline type dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty UnderlineTypeProperty

Field Value

DependencyProperty

Properties

ColorPalette

Gets or sets the color palette.

Declaration

cs-api-definition
public SpreadsheetColorPalette ColorPalette { get; set; }

Property Value

SpreadsheetColorPalette

The color palette.

FontFamilyInfo

Gets or sets the font family info.

Declaration

cs-api-definition
public FontFamilyInfo FontFamilyInfo { get; set; }

Property Value

FontFamilyInfo

The font family info.

FontFamilyInfos

Gets or sets the font family infos.

Declaration

cs-api-definition
public IEnumerable<FontFamilyInfo> FontFamilyInfos { get; set; }

Property Value

IEnumerable<FontFamilyInfo>

The font family infos.

FontSizes

Gets or sets the font sizes.

Declaration

cs-api-definition
public IEnumerable<double> FontSizes { get; set; }

Property Value

IEnumerable<double>

The font sizes.

FontStyles

Gets the font styles.

Declaration

cs-api-definition
public ReadOnlyObservableCollection<RadFontStyle> FontStyles { get; }

Property Value

ReadOnlyObservableCollection<RadFontStyle>

The font styles.

ForeColor

Gets or sets the color of the fore.

Declaration

cs-api-definition
public Color ForeColor { get; set; }

Property Value

Color

The color of the fore.

SelectedFontSize

Gets or sets the size of the selected font.

Declaration

cs-api-definition
public double SelectedFontSize { get; set; }

Property Value

double

The size of the selected font.

SelectedFontStyle

Gets or sets the selected font style.

Declaration

cs-api-definition
public RadFontStyle SelectedFontStyle { get; set; }

Property Value

RadFontStyle

The selected font style.

UnderlineType

Gets or sets the type of the underline.

Declaration

cs-api-definition
public UnderlineType UnderlineType { get; set; }

Property Value

UnderlineType

The type of the underline.

UnderlineTypes

Gets the underline types.

Declaration

cs-api-definition
public ReadOnlyObservableCollection<UnderlineType> UnderlineTypes { get; }

Property Value

ReadOnlyObservableCollection<UnderlineType>

The underline types.

Methods

CopyPropertiesFromContext(IFontTabContext)

Copies the properties from context.

Declaration

cs-api-definition
public override void CopyPropertiesFromContext(IFontTabContext context)

Parameters

context

IFontTabContext

The context.

Overrides FormatCellsTabContentBase<IFontTabContext>.CopyPropertiesFromContext(IFontTabContext)

CopyPropertiesToContext(IFontTabContext)

Copies the properties to context.

Declaration

cs-api-definition
public override void CopyPropertiesToContext(IFontTabContext context)

Parameters

context

IFontTabContext

The context.

Overrides FormatCellsTabContentBase<IFontTabContext>.CopyPropertiesToContext(IFontTabContext)

OnApplyTemplate()

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

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnApplyingChanges()

Called when changes are applying.

Declaration

cs-api-definition
public override void OnApplyingChanges()

Overrides FormatCellsTabContentBase<IFontTabContext>.OnApplyingChanges()

OnInitialized(EventArgs)

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

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.