Hello,
Is there a way to not have editor buttons show highlighted when the control is active?
See here to the right,...whenI am in the box the buttons look lit up. I would like for them to to just be the regular color at all times.
I should note this is a ultracomboeditor inside of a control container on a ultratoolbar.
( I would like it to look like this, even when in the editor)
Thanks,M.
Hello Michael,
Could you provide some more information of what DisplayStyle are you using? It seems to me that it is Office2007 and the highlight comes from it. You might want to try some similar DsiplayStyles that don’t have the orange highlight color for example Office2013 might be a good one to try.
After some investigation I’ve found out that there is no property that can control this highlight, since it is based on the Microsoft textbox. There is one approach if you want to keep the current DisplayStyle you are using, which is to use a DrawFileter and completely take over the drawing of the buttons. But it’s going to be very tough to get the edit portion of the control to stay blue.
Looking forward to hear from you.
Regards, Ivan Kitanov
Hi,
Thanks for the direction. The office 2013 style works for what we want. The buttons don't highlight when inside the control.
One other question while we are talking about styling. I have an ultrabutton in the same table layout panel. Even though I turn off UseAppStyling I am not able to control the appearance. Without App Styling it looks grey...I want to give it a gold background or even transparent. I tried changing the display style as well...it always keeps this look. Anything that I am missing?
You probably have to also set UseOsThemes to false in order to change the BackColor on an UltraButton.
I’m glad that you managed to resolve your issue with our suggestions.
Thank you for using Infragistics!
That did it. Thanks again guys.