Spread Windows Forms 18
GrapeCity.Spreadsheet Assembly / GrapeCity.Core Namespace / Theme Class / ChangeColorScheme Method
The theme.
The new color scheme to set.


In This Topic
    ChangeColorScheme Method
    In This Topic
    Changes color scheme of the specified theme.
    Syntax
    'Declaration
     
    
    Public Shared Function ChangeColorScheme( _
       ByVal theme As Theme, _
       ByVal colorScheme As ThemeColorScheme _
    ) As Theme
    'Usage
     
    
    Dim theme As Theme
    Dim colorScheme As ThemeColorScheme
    Dim value As Theme
     
    value = Theme.ChangeColorScheme(theme, colorScheme)
    public static Theme ChangeColorScheme( 
       Theme theme,
       ThemeColorScheme colorScheme
    )

    Parameters

    theme
    The theme.
    colorScheme
    The new color scheme to set.

    Return Value

    A new Theme object that contains the new color scheme.
    See Also