C
C#17mo ago
SirDigby

❔ WinUI: Find element within data template item

I have a FlipView with bound data and a data template. I'm trying to get a reference to a named element for the selected item, but can't find anything that works with WinUI. I found this which shows how to do it with WPF via DataTemplate.FindName, but that isn't an option in WinUI https://learn.microsoft.com/en-us/dotnet/desktop/wpf/data/how-to-find-datatemplate-generated-elements?view=netframeworkdesktop-4.8 For context, I'm trying to modify the WinUI 3 Gallery's 'Connected Animation' example to work going from a ListView to a FlipView
1 Reply
Accord
Accord17mo ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server