C1.Win.Themes vb.net 6

Posted by: michael.korb on 27 December 2021, 3:37 am EST

  • Posted 27 December 2021, 3:37 am EST

    We start with the new development of our applications in vb.net 6 using C1 WinForms.

    First, try .net 4.7 app using C1ThemeController with C1ThemePicker.

    Try same in vb.net 6 app, but C1ThemeController has no member “ApplicationTheme” and Member “Theme” has no entries. I can’t found “C1ThemePicker”.

    What can we do?

    Thanks

  • Posted 28 December 2021, 1:59 am EST

    Hi,

    The “ApplicationTheme” is a shared member of C1ThemeController class. If you are trying to access it using an instance of C1ThemeController then you will not be able to use it.

    The “Theme” property is of string type which gets or sets the theme name of the current theme used by the ThemeController. If you want to get the names of all the themes registered then you can use the Shared method GetThemes() of the C1ThemeController.

    C1ThemePicker is not yet included in the NET6 C1Theme library but you can easily use a normal Combobox as a C1ThemePicker. Please refer to the sample attached.

    Regards

    Avnish

    C1ThemeController_NET6_mod.zip

Need extra support?

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

Learn More

Forum Channels