Last Updated: 17 Feb 2020 13:52 by ADMIN
Created on: 13 Feb 2020 13:53
Category: UI for WinForms
Type: Feature Request
RadForm: setting the RadForm.ThemeName property at design time should affect all controls' ThemeName as well.
When a developer set the RadForm.ThemeName property and then drag any controls onto the form, they will get automatically this theme applied to the control's ThemeName property. However, if you already have some controls on the form with ThemeName = "X" and you change RadForm.ThemeName to "Y", all controls' ThemeName should be changed to the new RadForm.ThemeName as well.
1 comment
Dess | Tech Support Engineer, Sr.
Posted on: 17 Feb 2020 13:52

I would like to follow up with further information on behalf of Greg:

Here's what I would suggest would be the most flexible, and which I think would preserve existing behavior:

            Theme (Property Group)
                        CascadeToChildren (new property for Forms and other containers.)
Default = False for Form control (to preserve existing behavior)
Default = True for other containers
                        UseParentTheme (new property for all controls, except Form)
Default = True
                        UseGlobalTheme (new property for Forms only, if you can implement this feature using an application setting.)

For new users, like me, I would set CascadeToChildren = True for each Form, and that would cause all child controls to follow form-level theme changes, unless I set a control’s UseParentTheme = False.

For existing users who like the current behavior, they would use the controls normally, and form-level theme changes would not propagate. A minor breaking-change is that non-form container theme changes would propagate to the container's controls. But I think that is probably expected.




Dess | Tech Support Engineer, Sr.
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.