© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
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#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
WinUI App
C
C# / help
2y ago
WinUI Problem
C
C# / help
3y ago
❔ WinUi TitleBar
C
C# / help
3y ago
Selenium-unable to find element
C
C# / help
11mo ago