Improved the default appearance of c1TextBox-based controls for Windows 11 v596

Posted by: gregg on 31 March 2023, 5:45 pm EST

  • Posted 31 March 2023, 5:45 pm EST

    I just installed 2023v1 (build 596). Previously running build 2022v3 (build 584).

    Using the 4.5.2 version of the controls with .Net 4.8 Framework for my applications. Building in VS2022 17.5.3 on Windows 11 Pro machine.

    The release notes for build 596 state the following:

    *Input for WinForms

    Improvements

    Improved the default appearance of c1TextBox-based controls for Windows 11.

    [.NET] Added ‘InputEditorStyles.Underline’ and ‘InputEditorStyles.Corners’ properties.*

    I cannot find these properties (InputEditorStyle) on the C1Input controls like C1TextBox. I don’t consider these default appearance changes an “improvement” and would like to turn them off.

    How may I turn them off?

  • Posted 3 April 2023, 9:21 am EST

    Hi Gregg,

    To change the default appearance of the C1TextBox control, you can modify its VisualStyle property by choosing an enum other than “System” or “Custom”. It is recommended to set the VisualStyle property to Office2007Blue or Office2010Blue to achieve the desired visual appearance. For reference, you can check the attached VisualStyle.zip file and sample application in C1TextBoxStyle.zip.

    Please note that the properties InputEditorStyles.Underline and InputEditorStyles.Corners have been added to the .NET6 API of the control. Therefore, these properties may not be available in the .NET4.5.2 control. If you require any further assistance, please let us know.

    Please let us know if you need any further help.

    Thanks & Regards,

    Aastha

  • Posted 7 April 2023, 11:08 am EST

    @Aastha

    Thank you for your reply. I will check out the samples you provided and see if that will work for us.

    I would not be such an issue except that it broke the appearance (look and feel) consistency for all of our applications since the change was not made to other WinForm C1 controls like C1DropDownControl and C1DateEdit, etc.

    Are there plans to make this change consistent in all of the WinForm C1 controls?

  • Posted 10 April 2023, 5:11 am EST

    Hi Gregg,

    We completely understand your concerns and apologize for the inconvenience caused to you. We have shared your concerns with the development team to get their insights on it and will let you know the updates as soon as possible.

    [Internal Tracking ID: C1WIN-29562]

    Best Regards,

    Kartik

  • Posted 10 April 2023, 11:08 am EST

    @Kartik

    Thank you.

  • Posted 11 April 2023, 6:26 am EST - Updated 11 April 2023, 6:32 am EST

    Hi Gregg,

    According to the development team, all of the changes made to the appearance of C1 input controls are in line with the MS input controls. Please see the attached screenshot showing the MS controls for reference.

    The appearance of C1 dropdown controls such as C1DropDownControl and C1DateEdit, for example, corresponds to the default appearance of MS dropdown controls (they too lack underline but have small rounded edges), which is why they do not resemble the appearance of C1TextBox.

    Because of the aforementioned reasons, the development team has no plans to change this because it is by design. Nonetheless, they intend to continue working on Win11 appearance enhancements in 2023. (Including adding support in other controls).

    Also, the development team has suggested setting the C1TextBox.BorderStyle property to FixedSingle to revert back to the previous appearance, as the latest improvements only work for BorderStyle = Fixed3D.

    Thanks, and Kind Regards,

    Kartik

Need extra support?

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

Learn More

Forum Channels