Hello,
I am looking for follwing functionality - I see already some bits & pieces but there is a missing link:
1. A XamRibbon contains a button that has two segements:
a) A Printer Icon for opening the general printing dialog
b) A button "reports" to show context specific reports
2. The gallery needs to be filled via binding from the viewmodel
3. The selected gallery item needs to be bound as well to trigger the display of the selected report
The "Paste" button in the ribbon of Office can be used as template.
Please advice how this can be achieved - if possible a sample would be very welcome.
Thanks
Niko
Hi Niko,
Thank you for posting in our forums!
Brian Lagunas made this blog post that demonstrates how you can bind your VM to the gallery. Please see the blog for more info on this.
For binding to the selected GalleryItem, you can bind to the SelectedItem property of the GalleryTool.
I have also attached a simple sample that demonstrates Brian's solution with your other points.
Sincerely,Michael H.Software DeveloperInfragistics, Inc.www.infragistics.com/support
XamRibbon_BindingGallery.zip