'Declaration Public Overloads Shared Function GetColorFromTheme( _ ByVal themeColor As ThemeColor, _ ByVal smartControl As SmartControl _ ) As Color
'Usage Dim themeColor As ThemeColor Dim smartControl As SmartControl Dim value As Color value = SmartPaint.GetColorFromTheme(themeColor, smartControl)
public static Color GetColorFromTheme( ThemeColor themeColor, SmartControl smartControl )
Parameters
- themeColor
- A Xceed.SmartUI.UIStyle.ThemeColor value.
- smartControl
- A reference to a SmartControl representing the SmartControl from whose theme the color is to be retrieved.
Return Value
A System.Drawing.Color structure representing the current color of the specified Xceed.SmartUI.UIStyle.ThemeColor.