C1.Win.Ribbon.8 Assembly / C1.Win.Ribbon Namespace / RibbonStyle Class / Update Method

In This Topic
Update Method (RibbonStyle)
In This Topic
Switches this RibbonStyle to the specified Office 365 theme.
Syntax
'Declaration
 
Public Sub Update( _
   ByVal themeColor As ThemeColor, _
   ByVal themeLightness As ThemeLightness _
) 
 

Parameters

themeColor
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 C1RibbonForm.UpdateChildStyles method.
See Also