ThemableFontFamily
Represents a font family which can be used in a theme.
Definition
Namespace:Telerik.WinForms.Documents.Spreadsheet.Model
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class ThemableFontFamily : IThemableObject<FontFamily>
Inheritance: objectThemableFontFamily
Implements:
Constructors
Initializes a new instance of the ThemableFontFamily class.
Initializes a new instance of the ThemableFontFamily class.
Initializes a new instance of the ThemableFontFamily class.
public ThemableFontFamily(ThemeFontType themeFontType)
Type of the theme font.
Properties
Gets the value indicating if the instance is from a theme.
public bool IsFromTheme { get; }
The value indicating if the instance is from a theme.
Implements:
Gets the local value.
public FontFamily LocalValue { get; }
The local value.
Implements:
Gets the theme font type.
public ThemeFontType ThemeFontType { get; }
The theme font type.
Methods
Gets the actual value.
public FontFamily GetActualValue(DocumentTheme theme)
The theme.
Returns:The actual value.
Implements:
Operators
Casts explicitly FontFamily object to themable font family.
public static explicit operator ThemableFontFamily(FontFamily value)
The font family.
Returns:Themable font family.
Compares two themable font families.
public static bool operator !=(ThemableFontFamily first, ThemableFontFamily second)
The first themable font family.
secondThemableFontFamilyThe second themable font family.
Returns:If the two themable font families are not equal.
Compares two themable font families.
public static bool operator ==(ThemableFontFamily first, ThemableFontFamily second)
The first themable font family.
secondThemableFontFamilyThe second themable font family.
Returns:If the two themable font families are equal.