How to pass propertydefinition specifications to the DataTemplate

2 posts, 0 answers
  1. Imran
    Imran avatar
    10 posts
    Member since:
    May 2014

    Posted 04 Jun 2014 Link to this post

    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.



  2. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1128 posts

    Posted 04 Jun 2014 Link to this post

    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.
     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top