Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartPaint Class / GetColorFromTheme Method / GetColorFromTheme(ThemeColor) Method
A Xceed.SmartUI.UIStyle.ThemeColor value.


In This Topic
    GetColorFromTheme(ThemeColor) Method
    In This Topic
    Retrieves the current color of the specified Xceed.SmartUI.UIStyle.ThemeColor.
    Syntax
    'Declaration
     
    Public Overloads Function GetColorFromTheme( _
       ByVal themeColor As ThemeColor _
    ) As Color
    'Usage
     
    Dim instance As SmartPaint
    Dim themeColor As ThemeColor
    Dim value As Color
     
    value = instance.GetColorFromTheme(themeColor)
    public Color GetColorFromTheme( 
       ThemeColor themeColor
    )

    Parameters

    themeColor
    A Xceed.SmartUI.UIStyle.ThemeColor value.

    Return Value

    A System.Drawing.Color structure representing the current color of the specified Xceed.SmartUI.UIStyle.ThemeColor.
    Requirements

    Target Platforms: 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