© 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
R1nge
Get index of a selected item in a list view
So
, how to get an index of a clicked element in a scroll viewer
?
Or a clicked element in a scroll view
?
I need it
, to be able to open a dialog menu with file selection and change the clicked
/selected image
Code
:
https://hastebin.skyra.pw/ulupiyirez.ts
(Pic1
)
This is how it looks in the app
Upd
: WPF
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
Get first item in list
C
C# / help
2y ago
❔ Viewing List from ViewBag
C
C# / help
4y ago
❔ Get list of indices from a List
C
C# / help
3y ago
❔ Filing empty list with equal items left and right of selected item from another list
C
C# / help
3y ago