Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / ThemeColorType Enumeration
Example Example


In This Topic
    ThemeColorType Enumeration
    In This Topic
    The available types of ThemeColor.
    Syntax
    'Declaration
     
    
    Public Enum ThemeColorType 
       Inherits System.Enum
    'Usage
     
    
    Dim instance As ThemeColorType
    public enum ThemeColorType : System.Enum 
    Members
    MemberDescription
    Accent1The ThemeColor that corresponds to the Accent 1 color in MS Excel.
    Accent2The ThemeColor that corresponds to the Accent 2 color in MS Excel.
    Accent3The ThemeColor that corresponds to the Accent 3 color in MS Excel.
    Accent4The ThemeColor that corresponds to the Accent 4 color in MS Excel.
    Accent5The ThemeColor that corresponds to the Accent 5 color in MS Excel.
    Accent6The ThemeColor that corresponds to the Accent 6 color in MS Excel.
    Background1The ThemeColor that corresponds to the Text/Background - Dark 1 color in MS Excel.
    Background2The ThemeColor that corresponds to the Text/Background - Dark 2 color in MS Excel.
    FollowedHyperlinkThe ThemeColor that corresponds to the FollowedHyperlink color in MS Excel.
    HyperlinkThe ThemeColor that corresponds to the Hyperlink color in MS Excel.
    None-
    Text1The ThemeColor that corresponds to the Text/Background - Light 1 color in MS Excel.
    Text2The ThemeColor that corresponds to the Text/Background - Light 2 color in MS Excel.
    Remarks

    These types correspond to those presented in the Theme colors section of the Create New Theme Colors window in MS Excel.

    They are used to customize the colors used by a Theme.

    Example
    ConditionalFormatting.CreateDataBar( DataBarType.Gradient, new ExcelColorElement( ThemeColorType .Accent1);
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             Xceed.Workbooks.NET.ThemeColorType

    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also