© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
1 reply
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
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
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

WinUI App
C#CC# / help
2y ago
WinUI Problem
C#CC# / help
3y ago
❔ WinUi TitleBar
C#CC# / help
3y ago
Selenium-unable to find element
C#CC# / help
11mo ago