You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some ContentPresenters in my RibbonGroupBoxes that use a DataTemplateSelector to show controls depending on the type of datacontext. The KeyTip is not working for the controls in the DataTemplates.
The reason is that KeyTipAdorner is using LogicalTreeHelper,GetChildren in the method FindKeyTips.
The use of VisualTreeHelper would solve this problem.
The text was updated successfully, but these errors were encountered:
Could you attach a small repro to this issue or fork the project, add your code to the showcase application and create a PR?
That way I can fix the bug and add it to the showcase application.
I've added a RibbonGroupBox named "Bug" to the RibbonTabItem "KeyTips" in TestContent.xaml.
The RibbonGroupBox has a DataTemplate containing the Button "BugButton" with KeyTip="B".
The changed TestContent.xaml and the DataTemplateSelector class is included. Please rename the attached file to zip (upload as zip file was rejected).
I have some ContentPresenters in my RibbonGroupBoxes that use a DataTemplateSelector to show controls depending on the type of datacontext. The KeyTip is not working for the controls in the DataTemplates.
The reason is that KeyTipAdorner is using LogicalTreeHelper,GetChildren in the method FindKeyTips.
The use of VisualTreeHelper would solve this problem.
The text was updated successfully, but these errors were encountered: