Im trying to change the background color of Ribbon Control Pages and Groups but i dont know how can i do it.
I have this:
Public Shared Sub addPage(ByRef ribboncontrol As RibbonControl, ByVal titulo As String, ByVal color As String)
ribboncontrol.Pages.Add(New RibbonPage(titulo))
End Sub
Public Shared Sub addGroup(ByRef ribboncontrol As RibbonControl, ByVal titulo As String, ByVal pagina As String, ByVal color As String)
ribboncontrol.Pages.GetPageByText(pagina).Groups.Add(New RibbonPageGroup(titulo))
End Sub
I want that the color parameter change the color of RibbonPage and RibbonPageGroup dinamically, with vb.net code
I ve seen a lot of examples with C# but i need to do it with visual basic.