Hi, I am working on RibbonGroupItemButton styling using the AppStylist for Windows Forms. The UltraToolbarsManager is using Office2013 Style, which has blue shading on button tools as part of the style. My aim was to change the styling to use a more grayish tone rather than the default blue tone.
I went on AppStylist and tried to change UI Roles/Base/RibbonGroupItem - Common States/HotTracked/Background to set the color to light gray, which turns the button to that color when I hover over the button. I also went on changing the Common States/Pressed/Background color wanting to change the color when the user clicked on the button. However, it did not change any behavior. I tried to play around with other states such as Active, Selected and HotTrackSelected but non of them seems to replace the color when user mouse clicks. My question would be if it's possible to change it and how?
Thank you.
Hello Alex,
When RibbonGroupItemButton tool is pressed it will go into checked state. Currently we do not have any settings available to support this state via AppStylist.
After investigating for AppStylist support for checked state of RibbonGroupItemButton and doing some research, this has been determined to be a product idea. You can suggest new product ideas for future versions by emailing ideas@infragistics.com.
Submitting your idea will send it directly to our product management team so that it can be imported into our new ideas community once live: http://ideas.infragistics.com.
Remember when submitting your idea to explain the context in which a feature would be used and why it is needed as well as anything that would prevent you from accomplishing this today. You can even add screenshots to build a stronger case. You can also link back to this thread for additional details.
Thank you in advance to submitting your product idea.
Sincerely,Sahaja KokkalagaddaAssociate Software Developer
Hello Sahaja,
Thanks for the response.
Would it be possible to update the checked state via through code? Any sample code snippet?
Thanks.
After further research I realized that I explained this issue backwards. A tool is considered to be in pressed state when its checked. I apologize for miscommunicating earlier.
However, the required state that the button will be in when its pressed is missing form the available Appearances or AppStyling states.
I have asked our engineering staff to examine this further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 248551. This will be assigned to a developer in a future sprint to review my investigation and confirm my findings or to offer a fix, or other resolution.
I will post more information regarding this issue once its available.
Please let me know if you have any questions.
Thanks. Will be looking forward to it.