IFontPropertiesEditor
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
Applies the font family.
void ApplyFontFamily(ThemableFontFamily fontFamily)
The font family.
Applies the size of the font.
Applies the foreground color.
void ApplyForeColor(ThemableColor foreColor)
The foreground color.
Applies the bold state.
Applies the italic state.
Applies the strikethrough state.
void ApplyIsStrikethrough(bool isStrikethrough)
The strikethrough state.
Applies the type of the underline.
void ApplyUnderlineType(UnderlineType underlineType)
Type of the underline.
Applies the vertical text alignment.
void ApplyVerticalTextAlignment(VerticalTextAlignment verticalTextAlignment)
The vertical text alignment.
Tries to get the font family.
bool TryGetFontFamily(out ThemableFontFamily fontFamily)
The font family.
Returns:If the operation is successful.
Tries to get the foreground color.
bool TryGetForeColor(out ThemableColor foreColor)
The foreground color.
Returns:If the operation is successful.
Tries to get the underline type.
bool TryGetUnderlineType(out UnderlineType underlineType)
The underline type.
Returns:If the operation is successful.
Tries to get the vertical text alignment.
bool TryGetVerticalTextAlignment(out VerticalTextAlignment verticalTextAlignment)
The vertical text alignment.
Returns:If the operation is successful.