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
213
UltraCombo Border Colour
posted

Hi,

I am trying to figure out how to set the border colour of the UltraCombo. In certain conditions when the user selects the control i want it to change the border colour to red.

Setting the UltraCombo.Appearance.BorderColor = Color.Red doesn't change the border color of the control.

Is there a specific property that needs to be set?

Cheers,
Nathan. 

Parents
  • 469350
    Suggested Answer
    Offline posted

    Hi Nathan,

    There are a number of factors at work here, including the DisplayStyle property. But my guess is that the control is themed by default. Theming is all-or-nothing. So if Themes are on, then whole control is drawn themed and you can't change any individual colors of any of the themed elements.

    So you probably have to set UseOsThemes on the control to false in order to change the border colors.

     

Reply Children