2022 controls: The border color changes when an input control has focus

Posted by: pauld on 19 January 2023, 4:02 am EST

    • Post Options:
    • Link

    Posted 19 January 2023, 4:02 am EST

    We just installed the 2022 C1 controls to test.

    One thing we noticed is that, when an input control has focus, the border color changes. Where are the properties that define this color changing behavior?

    Thanks.

    – Paul

  • Posted 19 January 2023, 2:28 pm EST

    Hello Paul,

    This change is intended to ensure consistency with standard input control styles.

    If you do not want to use the highlighted border when the input control has focus, you can use the BorderStyle property as Fixed.

    c1TextBox1.BorderStyle = BorderStyle.FixedSingle;

    You can use the custom theme in your project if you want to apply any different color to the border on focus.

    Regards,

    Prabhat Sharma.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels