Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
230
Windows 7 style controls (Infragistics 2010.3)
posted

Hello,

When using controls such as UltraTextEditor, UltraComboEditor and DateTimePicker with UseOsThemes set to true, their theme looks quite different compared to their System.Windows.Forms counterparts TextBox, ComboBox and DateTimePicker, respectively.

The controls use a different border style, and when the System.Windows.Forms components are hovered over, the border color changes with a fading-like animation.

The only way I could get close to mimicing this behavior is by turning off OS themes, using Windows Vista border style and attaching mouseEnter and mouseLeave eventlisteners that change the border color.

Is there any way to get Infragistics controls to use the Windows 7 OS theme?

Thank you for your time.

Parents
  • 69832
    Verified Answer
    Offline posted

    Anne Buit said:
    The only way I could get close to mimicing this behavior is by turning off OS themes, using Windows Vista border style and attaching mouseEnter and mouseLeave eventlisteners that change the border color.

    This is as close as you can currently get. Note that with the latest build, the border color changes automatically when you mouse over it (provided you aren't setting the BorderColor explicitly), so you should not need to change the border color in MouseEnter/MouseLeave.

Reply Children
No Data