Skip to content
Base64
  • Hire me
December 28, 2021July 29, 2022

Get selectedIndex for ListView C# – Solved

General by Curt Sahd

The ListView control does not have the selectedIndex property, so a nice and quick workaround is:

[box]

yourListView.FocusedItem.Index

[/box]

Cheerio ?

"Turkey

Post navigation

How to add a jar file to Eclipse / DiscoveryListener cannot be resolved to a type
Display battery percentage Android Jellybean

Recent Posts

  • Ansible – check if file contains text
  • Train SpamAssassin SPAM with .eml file
  • How to setup Nginx reverse proxy in Docker on Ubuntu 22.04
  • Screen sharing not working Discord Ubuntu 22.04 – Disable Wayland
  • Specify Ansible Python interpreter on Task/Host

Categories

  • General