This is a migrated thread and some comments may be shown as answers.

Additional Options / Features

2 Answers 39 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
Tyler
Top achievements
Rank 1
Tyler asked on 29 Aug 2016, 09:33 PM

When right clicking on an element from the 'Controls Structure' tree, what are these two options and how do you use them?  I have not been able to find any documentation on these at all.

 

Reuse item style on other controls

and

Define custom style for item on this control

 

2 Answers, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 30 Aug 2016, 07:48 AM
Hi Tyler,

Thank you for writing.

We are currently evaluating our documentation for each section individually and the Visual Style Builder topic will also be updated.

As to the question at hand, the Reuse Item Style on Other Controls option basically makes available the styles defined for this element to other controls using the same element. This allows certain styles and elements be reused. For example, the TextBoxElement is used in the RadSpinEditor and the RadDropDownList. This option allows you to define the style once and have it on all other controls.

The other option, Define Custom Style for Item on This Control allows you to define a style for a given element only for the current control. It is only meaningful to set it to elements that reuse their style from other controls. From the above example, you might want to define a different style in your RadDropDowList which should not reuse the TextBoxElement style.  

I hope this information was useful. Should you have further questions please do not hesitate to write back.

Regards,
Hristo Merdjanov
Telerik by Progress
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms. For more information check out this blog post and share your thoughts.
0
Tyler
Top achievements
Rank 1
answered on 30 Aug 2016, 02:14 PM
Ok!  Thank you very much for the explanation and an example!
Tags
Themes and Visual Style Builder
Asked by
Tyler
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Tyler
Top achievements
Rank 1
Share this question
or