C1FlexGrid.VisualStyle property is missing in .Net 8.0?

Posted by: hdle on 12 January 2024, 10:15 am EST

    • Post Options:
    • Link

    Posted 12 January 2024, 10:15 am EST

    Hi,

    I’m converting my solution from NetFramework 4.8 Net 8.0, but ran into issue with VisualStyle property from controls that had it (C1FlexGrid, C1DockingTab)

    https://developer.mescius.com/componentone/docs/win/online-flexgrid/built-in-styles.html#1

    Is there a replacement setting for those?

    Thanks,

    Hai Le

  • Posted 14 January 2024, 4:54 pm EST

    Hello Hai,

    Starting from .NET 6+, the VisualStyle property has been removed from C1FlexGrid (and other C1 controls) due to their old look and feel. To customize the appearance/styling of C1FlexGrid in .NET 6+, you can either

    (1) Customize the built-in styles using the Styles Collection

    OR

    (2) Use our C1Themes component to apply the built-in themes to the C1FlexGrid.

    Thanks, and Best Regards,

    Kartik

  • Posted 15 January 2024, 3:42 am EST

    Hi Kartik,

    Thank you for your quick reply. Styles collection does not exist in DockingTab. I guess I have to start using C1Themes.

    Thanks,

    Hai

  • Posted 15 January 2024, 2:54 pm EST

    Hello Hai,

    Yes, the C1DockingTab does not have a Styles collection and the best way to customize its style would be to use the C1Themes. The Styles collection we mentioned in our previous response was w.r.t. C1FlexGrid :-).

    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