I have an application with custom CellValuePresenter on columns that are added dinamically. If I don't set the custom CellValuePresenterStyle I can see the values of the binding in the cells, but I don't know how to access them from the template for either populate a Textbox text or to trigger the required ControlTemplate triggers.
I tried with {TemplateBinding Content} without success.
Here is the sample app: https://www.sugarsync.com/pf/D1519700_64546500_95589
This is what I would like to get:
Hello Carlos,
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.
Thanks a lot for the interest Stefan, I managed to solve the problem, but didn't know how to close / delete de post
The solution was:
Text="{Binding Value, RelativeSource={RelativeSource TemplatedParent}}"
Regards,
Carlos
Hello,
Thank you for your post I have been looking into it but, I wasn’t able to download your sample and also the images are not available, so could please reattach your sample along with the screenshots, so I could be able to investigate this further for you.
Looking forward for your reply.