Unplanned
Last Updated: 17 Feb 2020 13:52 by ADMIN
Greg
Created on: 13 Feb 2020 13:53
Category: UI for WinForms
Type: Feature Request
1
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
ADMIN
Dess | Tech Support Engineer, Principal
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:

Control
            Theme (Property Group)
                        ThemeClassName
                        ThemeName
                        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.

Regards,

Greg

 

Regards,
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.