"igRibbon:ContextualTabGroup" does not appear to have a DataContext. I would like for all of my RibbonTabItems contained by each ContextualTabGroup to share the same DataContext. What is the best way to do that?
Hello Wayne,
Thank you for your post. I have been looking into it and if the DataContext of the RibbonTabItems in the ContextualTabGroup is not set, the RibbonTabItems has the same DataContext as the XamRibbon. If you wish to have the same DataContext for each RibbonTabItem in the ContextualTabGroup, I can suggest setting the DataContext of the XamRibbon. I have created a sample application for you, that demonstrates how you can use one DataCotnext for the ContextualTabGroups and different for a RibbonTabItem of the XamRibbon.
Please let me know if you need any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
My reason in wanting to set the Contextual Tab Group DataContext is because I want it to have a different DataContext than the XamRibbon. Would it be possible to have the DataContext Dependency Property added to ContextualTabGroup?
Thank you for your reply. I have been looking into it and since the ContextualTabGroup does not derive from the FrameworkElement class, it does not currently expose a DataContext property. I have submitted a new Product Idea for you, for ContextualTabGroup to have a DataContext property. I have sent your Product Idea directly to our product management team. Our product team chooses new Product Ideas for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested ideas, we can plan accordingly.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your idea is chosen for development, you will be notified at that time. Your reference number for this Product Idea is PI12080158
If you would like to follow up on your Product Idea at a later point, you may contact Developer Support management via email. Please include the reference number of your Product Idea in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com
Thank you for your request.
I am just checking if you require any further assistance on the matter.
Other than the implementation of the PI, I think I'm set. Thanks for checking back.