Returns a color defined by the active theme for a specified control that supports visual styles.
[Visual Basic] Public Shared Function GetColor( _ ByVal control As Control, _ ByVal themeClass As String, _ ByVal themePart As Integer, _ ByVal themeState As Integer, _ ByVal color As ThemeColor _ ) As Color