-
Notifications
You must be signed in to change notification settings - Fork 805
Description
Hello -
I've learned enough of using xaml TeachingTip elements to make them open from buttons. However, I would like to also use TeachingTip elements with NavigationViewItems that are implemented using a DataTemplate that binds an ObservableCollection class.
The problem is that a targeted TeachingTip must have a named target; else you don't get the little arrow poking out of the side of the tip. Is there a way to obtain the name of a NavigationViewItem implemented in this fashion so that it can be used as the target of a TeachingTip? I was not able to find a non-null name in the NavigationViewItem Invoked handler args.
For now, I'm using a xaml Popup, which I can open at a desired vertical location by counting down the navigation item list and multiplying by the item height to obtain the y offset for the popup. Not perfect, but seems to work OK (I keep track of expanded items to add in those item heights when computing y offset).
But ideally, I would hope to use the TeachingTip, so any guidance that can be provided would be most appreciated.
Thank you.
Robert