[]
        
(Showing Draft Content)

C1.Win.Ribbon.RibbonStyle.Update

Update Method

Update(ThemeColor, ThemeLightness)

Switches this RibbonStyle to the specified Office 365 theme.

Declaration
public void Update(ThemeColor themeColor, ThemeLightness themeLightness)
Parameters
Type Name Description
ThemeColor themeColor
ThemeLightness themeLightness
Remarks

This method swithes theme for this instanse of RibbonStyle only, but C1Ribbon, C1StatusBar and C1RibbonForm have single RibbonStyle instances. To switch the theme for all RibbonStyle in all controls contained on the C1RibbonForm, use the UpdateChildStyles(ThemeColor, ThemeLightness) method.