C1ColorPicker in Net 6.0?

Posted by: hdle on 22 March 2023, 4:40 am EST

    • Post Options:
    • Link

    Posted 22 March 2023, 4:40 am EST

    I tried migrating my project to 6.0 and realized that C1ColorPicker is not in Net 6.0.

    Will it be part of Net 6.0?

    Thanks,

    Hai

  • Posted 22 March 2023, 5:33 pm EST

    Hello Hai,

    The C1ColorPicker control has already been ported to .NET 6. JFYI, the C1ColorPicker and C1FontPicker controls have been separated in the C1.Win.Input.Pickers package in .NET 6. Therefore, please install this package into your project to use the C1ColorPicker control. The NuGet link for the package is given below.

    (https://www.nuget.org/packages/C1.Win.Input.Pickers/6.0.20223.588)

    Best Regards,

    Kartik

  • Posted 22 March 2023, 5:56 pm EST

    Kartik,

    That’s great. It changes the namespace. Is there a mapping of old 4.5 components to new 6.0 components that we can use for reference?

    Thanks,

    Hai

  • Posted 22 March 2023, 6:19 pm EST

    Oh No… .OpenDropDown(); is no longer there?

    How can I implement??

    https://www.grapecity.com/forums/winforms-edition/c1ribbon-color-picker-for-c1flexgrid

  • Posted 23 March 2023, 3:56 pm EST

    Hello Hai,

    Unfortunately, there is no mapping as such. Most of the controls come with similar package names as before and you can refer to our “.NET 7 Support Update” blog that shows which controls are already ported to .NET6 and which ones are planned.

    (https://www.grapecity.com/blogs/componentone-net-7-support-updates)

    Also, to open/close the C1ColorPicker’s dropdown programmatically, you can set the C1ColorPicker.DroppedDown (boolean) property to true/false respectively.

    Best Regards,

    Kartik

  • Posted 24 March 2023, 2:57 am EST

    Hello Kartik,

    Thanks again for your quick resolution!

    Hai

  • Posted 29 January 2024, 3:35 am EST

    Hi Kartik,

    I ran into another issue with this. In the Net 4.0 implementation, I added a ColorPicker to a menustrip and make it not visible (because I didn’t need it shown). I used the _colorPicker.OpenDropDown(); approach to show the picker dialog the other menu items.

    In 8.0, this does not work because if I make _colorPicker.Visible = false; then the dropdown does not show. Is there a way to hide the color picker in the menustrip, but still make the dropdown show like it was in 4.0?

  • Posted 29 January 2024, 10:35 pm EST

    Hi,

    We could see the difference in behavior between the .NET FW and .NET 8.0 C1ColorPicker. We have shared the observations 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-31586]

    Best Regards,

    Kartik

Need extra support?

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

Learn More

Forum Channels