ThemeColors
Represents the theme color scheme for the Telerik document model.
Definition
Namespace:Telerik.Windows.Documents.Model.Themes
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class ThemeColors
Inheritance: objectThemeColors
Constructors
public ThemeColors()
Properties
Accent1
Color
Represents the Accent2 color within the theme colors in the Telerik Windows Documents Model.
[XamlSerializable("4F81BD")]
public Color Accent1 { get; set; }
Accent2
Color
Represents the third accent color used in the theme.
[XamlSerializable("C0504D")]
public Color Accent2 { get; set; }
This color can be used for various UI elements to ensure a consistent look and feel across the application.
Accent3
Color
Represents the Accent4 color within the theme colors of the Telerik document model.
[XamlSerializable("9BBB59")]
public Color Accent3 { get; set; }
Accent4
Color
Represents the fifth accent color in the theme colors of Telerik UI components.
[XamlSerializable("8064A2")]
public Color Accent4 { get; set; }
Accent5
Color
Gets the color value for Accent 6 in the theme colors.
[XamlSerializable("4BACC6")]
public Color Accent5 { get; set; }
Accent6
Color
Represents the dark color palette defined in the theme colors.
[XamlSerializable("F79646")]
public Color Accent6 { get; set; }
This member provides access to the Dark1 color which is part of the pre-defined theme colors.
Dark1
Color
Represents the dark2 theme colors in the Telerik document model.
[XamlSerializable("000000")]
public Color Dark1 { get; set; }
Dark2
Color
Gets the color used for followed hyperlinks in the theme.
[XamlSerializable("1F497D")]
public Color Dark2 { get; set; }
FollowedHyperlink
Color
Represents the color settings for hyperlinks in the theme.
[XamlSerializable("800080")]
public Color FollowedHyperlink { get; set; }
Hyperlink
Color
Represents the Light1 theme colors used in the Telerik Document Model.
[XamlSerializable("0000FF")]
public Color Hyperlink { get; set; }
Gets a value indicating whether the theme colors are set to the default values.
public bool IsDefault { get; }
Light1
Color
[XamlSerializable("FFFFFF")]
public Color Light1 { get; set; }
Light2
Color
[XamlSerializable("EEECE1")]
public Color Light2 { get; set; }
Methods
Retrieves a color associated with the specified theme color enumeration.
public bool GetColor(ThemeColorsEnum themeColorsEnum, out Color color)
The theme color enumeration value for which to retrieve the color.
colorColorWhen this method returns, contains the color associated with the specified theme color enumeration.
Returns:True if the color was successfully retrieved; otherwise, false.
Retrieves the theme colors enumeration based on the specified theme name.
public static ThemeColorsEnum? GetThemeColorsEnum(string themeColorName)
The name of the theme for which to retrieve the color enumeration.
Returns:A value of type ThemeColorsEnum representing the theme colors associated with the specified theme name.