Interface
IFontPropertiesEditor

Provides methods for getting and setting font properties.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public interface IFontPropertiesEditor

Methods

ApplyFontFamily(ThemableFontFamily)

Applies the font family.

Declaration

cs-api-definition
void ApplyFontFamily(ThemableFontFamily fontFamily)

Parameters

fontFamily

ThemableFontFamily

The font family.

ApplyFontSize(double)

Applies the size of the font.

Declaration

cs-api-definition
void ApplyFontSize(double fontSize)

Parameters

fontSize

double

Size of the font.

ApplyForeColor(ThemableColor)

Applies the foreground color.

Declaration

cs-api-definition
void ApplyForeColor(ThemableColor foreColor)

Parameters

foreColor

ThemableColor

The foreground color.

ApplyIsBold(bool)

Applies the bold state.

Declaration

cs-api-definition
void ApplyIsBold(bool isBold)

Parameters

isBold

bool

The bold state.

ApplyIsItalic(bool)

Applies the italic state.

Declaration

cs-api-definition
void ApplyIsItalic(bool isItalic)

Parameters

isItalic

bool

The italic state.

ApplyUnderlineType(UnderlineType)

Applies the type of the underline.

Declaration

cs-api-definition
void ApplyUnderlineType(UnderlineType underlineType)

Parameters

underlineType

UnderlineType

Type of the underline.

TryGetFontFamily(out ThemableFontFamily)

Tries to get the font family.

Declaration

cs-api-definition
bool TryGetFontFamily(out ThemableFontFamily fontFamily)

Parameters

fontFamily

ThemableFontFamily

The font family.

Returns

bool

If the operation is successful.

TryGetFontSize(out double)

Tries to get the font size.

Declaration

cs-api-definition
bool TryGetFontSize(out double fontSize)

Parameters

fontSize

double

The font size.

Returns

bool

If the operation is successful.

TryGetForeColor(out ThemableColor)

Tries to get the foreground color.

Declaration

cs-api-definition
bool TryGetForeColor(out ThemableColor foreColor)

Parameters

foreColor

ThemableColor

The foreground color.

Returns

bool

If the operation is successful.

TryGetIsBold(out bool)

Tries to get the bold state.

Declaration

cs-api-definition
bool TryGetIsBold(out bool isBold)

Parameters

isBold

bool

The bold state.

Returns

bool

If the operation is successful.

TryGetIsItalic(out bool)

Tries to get the italic state.

Declaration

cs-api-definition
bool TryGetIsItalic(out bool isItalic)

Parameters

isItalic

bool

The italic state.

Returns

bool

If the operation is successful.

TryGetUnderlineType(out UnderlineType)

Tries to get the underline type.

Declaration

cs-api-definition
bool TryGetUnderlineType(out UnderlineType underlineType)

Parameters

underlineType

UnderlineType

The underline type.

Returns

bool

If the operation is successful.