InterfaceIFontPropertiesEditor
Provides methods for getting and setting font properties.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public interface IFontPropertiesEditor
Methods
ApplyFontFamily(ThemableFontFamily)
Applies the font family.
Declaration
void ApplyFontFamily(ThemableFontFamily fontFamily)
Parameters
fontFamily
ThemableFontFamily
The font family.
ApplyFontSize(double)
Applies the size of the font.
Declaration
void ApplyFontSize(double fontSize)
Parameters
fontSize
Size of the font.
ApplyForeColor(ThemableColor)
Applies the foreground color.
Declaration
void ApplyForeColor(ThemableColor foreColor)
Parameters
foreColor
ThemableColor
The foreground color.
ApplyIsBold(bool)
Applies the bold state.
ApplyIsItalic(bool)
Applies the italic state.
Declaration
void ApplyIsItalic(bool isItalic)
Parameters
isItalic
The italic state.
ApplyUnderlineType(UnderlineType)
Applies the type of the underline.
Declaration
void ApplyUnderlineType(UnderlineType underlineType)
Parameters
underlineType
UnderlineType
Type of the underline.
TryGetFontFamily(out ThemableFontFamily)
Tries to get the font family.
Declaration
bool TryGetFontFamily(out ThemableFontFamily fontFamily)
Parameters
fontFamily
ThemableFontFamily
The font family.
Returns
If the operation is successful.
TryGetFontSize(out double)
Tries to get the font size.
TryGetForeColor(out ThemableColor)
Tries to get the foreground color.
Declaration
bool TryGetForeColor(out ThemableColor foreColor)
Parameters
foreColor
ThemableColor
The foreground color.
Returns
If the operation is successful.
TryGetIsBold(out bool)
Tries to get the bold state.
TryGetIsItalic(out bool)
Tries to get the italic state.
TryGetUnderlineType(out UnderlineType)
Tries to get the underline type.
Declaration
bool TryGetUnderlineType(out UnderlineType underlineType)
Parameters
underlineType
UnderlineType
The underline type.
Returns
If the operation is successful.