Hi
Nice work with the new Callout-control, exactly what I needed!
1)
Im looking at the documentation, and I have a hard time figuring out how to popup a button on a button clicked for MVVM approach
(I have a (i)-symbol on a button for each row in my grid that should show a popup/callout with more information for that row)
2)
Are there example on formatted callout content (newline and bold, mostly needed)
/Thanks in advance, Robert
5 Answers, 1 is accepted
Hi Robert,
Thank you for your interest in ou RadCallout control for WPF.
What you can try to show the RadCallout control is to use custom attached property. You can set it to the button and subscribe to its Click event. In the event handler, you can show the callout. To customize its content, you can create custom DataTemplate and apply it to the control's ContentTemplate property.
I have created a sample project to demonstrate the above approaches better. You can find the project attached to this reply.
Regards,
Dinko
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Hi Dinko!
Thanks for your reply! It kind of works, but I want to have different content in my popups. I have added the DataTemplate to my button (which is inside a grid) and I hoped that databinding would happen before it got to the behavior.
I would really want a bound template into the behavior.
Hello Robert,
I am happy to hear that you have found a solution to your scenario, and thank you for sharing it with the community. If you have any other questions, you can open a new thread with your questions inside.
Regards,
Dinko
Progress Telerik
Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).