Initializes a new instance of the
ThemeColor class.
Syntax
'Declaration
Public Function New( _
ByVal As System.String, _
ByVal As System.Windows.Media.Color, _
ByVal As System.Windows.Media.Color, _
ByVal As System.Windows.Media.Color, _
ByVal As System.Windows.Media.Color, _
ByVal As System.Windows.Media.Color, _
ByVal As System.Windows.Media.Color, _
ByVal As System.Windows.Media.Color, _
ByVal As System.Windows.Media.Color, _
ByVal As System.Windows.Media.Color, _
ByVal As System.Windows.Media.Color, _
ByVal As System.Windows.Media.Color, _
ByVal As System.Windows.Media.Color _
)
'Usage
Dim name As System.String
Dim text1 As System.Windows.Media.Color
Dim text2 As System.Windows.Media.Color
Dim background1 As System.Windows.Media.Color
Dim background2 As System.Windows.Media.Color
Dim accent1 As System.Windows.Media.Color
Dim accent2 As System.Windows.Media.Color
Dim accent3 As System.Windows.Media.Color
Dim accent4 As System.Windows.Media.Color
Dim accent5 As System.Windows.Media.Color
Dim accent6 As System.Windows.Media.Color
Dim link As System.Windows.Media.Color
Dim followedLink As System.Windows.Media.Color
Dim instance As New ThemeColor(name, text1, text2, background1, background2, accent1, accent2, accent3, accent4, accent5, accent6, link, followedLink)
public ThemeColor(
System.string ,
System.Windows.Media.Color ,
System.Windows.Media.Color ,
System.Windows.Media.Color ,
System.Windows.Media.Color ,
System.Windows.Media.Color ,
System.Windows.Media.Color ,
System.Windows.Media.Color ,
System.Windows.Media.Color ,
System.Windows.Media.Color ,
System.Windows.Media.Color ,
System.Windows.Media.Color ,
System.Windows.Media.Color
)
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