Winform, Flexgrid, Checkbox style in Framework vs. Core 8.0

Posted by: hdle on 13 March 2024, 1:29 am EST

  • Posted 13 March 2024, 1:29 am EST - Updated 13 March 2024, 1:55 am EST

    All,

    The checkbox in .NET Core 8.0 seems to revert to the old Windows NT style.

    How can I make it like the better-looking Framework version?

    This also applies to the tree node icons [-] [+].

    I am using C1.Win.FlexGrid.8.dll v 8.0.20233.636

    Thanks,

    Hai

  • Posted 13 March 2024, 11:43 pm EST

    Hello Hai,

    You can get the glyphs from C1.Win.C1FlexGrid and save them as images as follows:

    c1FlexGrid1.Glyphs[GlyphEnum.Checked].Save("Checked.png", ImageFormat.Png);

    and then use them in C1.Win.FlexGrid (.NET8) as follows:

    c1FlexGrid1.Glyphs[GlyphEnum.Checked] = new C1.Framework.C1BitmapIcon()
    {
        Source = Image.FromFile("../../../FrameworkGlyphs/Checked.png")
    };


    Please refer to the attached sample for implementation. (see FlexGrid_FWCheckBoxes.zip)

    Regards,

    Uttkarsh.

  • Posted 14 March 2024, 2:41 am EST

    Hello Uttkarsh,

    That sounds like a work able solution. I will try it.

    Thanks,

    Hai

Need extra support?

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

Learn More

Forum Channels