Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / ThemeColor Class / ThemeColor Constructor / ThemeColor Constructor(String,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color)
The name of the theme color.
The text1 color.
The text2 color.
The background1.
The background2.
The accent1.
The accent2.
The accent3.
The accent4.
The accent5.
The accent6.
The link.
The followed link.


In This Topic
    ThemeColor Constructor(String,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color,Color)
    In This Topic
    Initializes a new instance of the ThemeColor class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal name As String, _
       ByVal text1 As Color, _
       ByVal text2 As Color, _
       ByVal background1 As Color, _
       ByVal background2 As Color, _
       ByVal accent1 As Color, _
       ByVal accent2 As Color, _
       ByVal accent3 As Color, _
       ByVal accent4 As Color, _
       ByVal accent5 As Color, _
       ByVal accent6 As Color, _
       ByVal link As Color, _
       ByVal followedLink As Color _
    )
    'Usage
     
    Dim name As String
    Dim text1 As Color
    Dim text2 As Color
    Dim background1 As Color
    Dim background2 As Color
    Dim accent1 As Color
    Dim accent2 As Color
    Dim accent3 As Color
    Dim accent4 As Color
    Dim accent5 As Color
    Dim accent6 As Color
    Dim link As Color
    Dim followedLink As Color
     
    Dim instance As New ThemeColor(name, text1, text2, background1, background2, accent1, accent2, accent3, accent4, accent5, accent6, link, followedLink)
    public ThemeColor( 
       string name,
       Color text1,
       Color text2,
       Color background1,
       Color background2,
       Color accent1,
       Color accent2,
       Color accent3,
       Color accent4,
       Color accent5,
       Color accent6,
       Color link,
       Color followedLink
    )

    Parameters

    name
    The name of the theme color.
    text1
    The text1 color.
    text2
    The text2 color.
    background1
    The background1.
    background2
    The background2.
    accent1
    The accent1.
    accent2
    The accent2.
    accent3
    The accent3.
    accent4
    The accent4.
    accent5
    The accent5.
    accent6
    The accent6.
    link
    The link.
    followedLink
    The followed link.
    See Also