Ribbon for WinForms | ComponentOne
C1.Win.Ribbon Namespace / C1RibbonForm Class / UpdateChildStyles Method
The style lightness.
The Office 365 theme color.

In This Topic
    UpdateChildStyles Method (C1RibbonForm)
    In This Topic
    Switches the RibbonStyle and all styles of child controls (C1Ribbon and C1StatusBar) to the specified Office 365 theme.
    Syntax
    'Declaration
     
    
    Public Sub UpdateChildStyles( _
       ByVal themeColor As ThemeColor, _
       ByVal themeLightness As ThemeLightness _
    ) 
    public void UpdateChildStyles( 
       ThemeColor themeColor,
       ThemeLightness themeLightness
    )

    Parameters

    themeColor
    The style lightness.
    themeLightness
    The Office 365 theme color.
    See Also