This is a migrated thread and some comments may be shown as answers.
Where are all the Dependency Properties?
1 Answer 8 Views
This is a migrated thread and some comments may be shown as answers.
Brian Bedard
Top achievements
Rank 1
Brian Bedard asked on 01 Feb 2011, 03:49 PM
I have become very depressed when using your controls.  My client wants me to customize your controls with specific look and feel.  I know I can do this using a control template but that's hard.  The idea I have to COPY 100-1000 lines of code to keep the existing functionality to just include my little change is CRAZY.  So where are all the dependency properties?  Lets take an example: the RadTabControl has a background behind the tabs I wanted to change the color.  But to do that, I had to create a new template as a resource and apply that to the Template dependency property. It would have been so much easier to just hve a Dependency Property for that Background property.  So where are all the Dependency Properties.  If I had them, I could have easily created a style, set all my values, and apply that instead.  You're the control developers not me.  I'm just the customizer.  I don't want to be a control developer.  Please add more Dependency Properties for properties that will likely be changed like colors.  You have these properties on your .NET version of these controls.  So again where are all the Dependency Properties for colors.

Thank you.  Please add them in your next patch.

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 02 Feb 2011, 07:55 AM
Hi,

 Actually this is the idea in general in XAML world (both WPF and Silverlight). You do not need to have explicit properties for every single part of the component  since the component it self is (or at least should be) lookless. You can use styles, implicit style or modify the component internal parts directly. You should not copy 1000 lines of code to style something - you can use Blend.

Best wishes,
Vlad
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Asked by
Brian Bedard
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or