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

How to pass propertydefinition specifications to the DataTemplate

1 Answer 85 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Imran
Top achievements
Rank 1
Imran asked on 04 Jun 2014, 06:38 AM
Hi Team,

This is really cool stuff, if any of you could throw some light then its is good.

I have custom RadPropertyGrid and  custom DataTemplate which has a usercontrol inside it, I am creating my own Propertydefinitions and using SelectTemplate of dataTemplateselector ,I am  providing the Template for editing for each Property Item.
Now the issue is : I want to pass the  property definition information /propertyspecification  to the usercontrol inside the Datatemplate, So that it behaves accordingly.
For Example:
If it finds the propertydefintion  with "IsSelected" as true then it should check the  my checkbox and set the background color of my button to Red.Please not this checkbox and Button are child elements of my user control.



1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 04 Jun 2014, 12:46 PM
Hi,

I have just posted a reply to the other thread of yours. I believe that you are addressing the same scenario with this thread, so I am posting a link to the original one.

Regards,
Ivan Ivanov
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
PropertyGrid
Asked by
Imran
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or