Hello team,
We are using Ultrawinbutton on the form, we want that the appearnce of the button should change when it gets the focus. We want the same functionality as we have for the toolbar button in the ribbon control. On mouse enter event the back color of the button changes to orange and on mouse leave event it is back to the original color.
For the ultraWinbutton we have set the button property UseHotTracking to True and tried changing the back color but it is not working.
Our query is how do we get that orange color at the background when the mouse enter event of that button is fired and how to set it to the button?
I believe you have to turn off (False) 'UseOsThemes' property for the button. Then the Appearance.BackColor will come thru when set for HotTrackAppearance and UseHotTracking is set (True).
Hi
Have one more query, I m making the button style to "Office2007RibbonButton", the only problem is the button border is not the same as the buttons on the Ribbon control.
Do you know how do I change the button border to rounded for infragistics button (ultrabutton) ?
Thank you very much for your reply..setting the UseOSTheme property to false did the trick..
Thank you once again.