Hi Guys,
Urgent assistance needed. I'm trying a simple binding to the XamOutlookbar. When I run the application, I only get the object path displaying on the groups. I'm not sure what I'm missing.
Kindly find the application attached.
Kind regards.
Hi Leslie,
Thank you for your post. I have been looking into your issue and I believe that you are using the approach suggest by Brian Lagunas for our WPF XamOutlookBar control. My suggestion is to look into the following documentation link where is explained how to achieve the desired functionality with the Silverlight XamOutlookBar control:
http://help.infragistics.com/Help/Doc/Silverlight/2015.1/CLR4.0/html/SL_xamOutlookBar_Adding_Groups_by_Data_Binding.html
Let me know, if you need any further assistance on this matter.
Hi Yanko,
Thank you very much for your reply. I have tried to use the link you sent but have failed miserably. I am new to Silverlight and that makes it a bit difficult for me. Will you please be able to convert the attached to above work as expected. I will be extremely grateful.
Thank you for your reply. I created a sample application(OutlookBar_GroupBinding.zip) that has the same data as yours.
Hi Yanko, Thank you very much for your quick support. This is absolutly perfect. I really appreciate this. I have a last question. Will you please show me how I can implement a click event on the tree using MVVM.
Thank you for your reply. I am attaching a modified version of my sample application(OutlookBar_GroupBinding_2.zip) where I have handled the left mouse click event of the XamDataTree in MVVM using Command.
Thank you for your reply. I am glad that you have managed to resolve your issue.
This is perfect. thank you very much for your help.
Thank you for your reply. I have been looking into your requirement and I changed my approach. I believe that it would be better to use Behavior instead of Command in this scenario.
I am attaching a modified version of my sample application(OutlookBar_GroupBinding_Modified.zip).
Thank you very much for your reply above. Sorry to be a pain. I am having a bit difficulty achieving the scenario above. For instance, using MVVM, I would like a function to return the title or text on the treeview item clicked on as and when a treeview item is clicked. Would you please be able to modify the example you attached to achieve this?
Thank you.
Hi Nadeem,
Thank you for your reply. If you would like to fire an event when a node is selected, you could try the ‘ActiveNodeChanged’ event. You can modify the command implementation as you desire in order to follow your scenario. This is just an example on how you could bind command instead of handle event in code-behind.
Let me know, if you need any further asssitnce on this matter.