---
title: "ListView Item select in winform in C#"  
description: "ListView Item select in winform in C#"  
author: "Anonymous User"  
published: 2013-07-17  
updated: 2013-07-17  
canonical: https://www.mindstick.com/forum/1302/listview-item-select-in-winform-in-c-sharp  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# ListView Item select in winform in C#

Hi [developers](https://www.mindstick.com/articles/12875/blunders-you-must-avoid-while-hiring-java-developers-to-get-the-best-fulfilling-your-needs)!

I want to [select](https://www.mindstick.com/forum/160534/orderby-then-select-vs-select-then-orderby-performance) [item](https://www.mindstick.com/forum/156564/remove-item-in-an-array-in-javascript) in a [ListView](https://www.mindstick.com/articles/12744/listview-in-android) upon clicking. I also want to know what I clicked. I work on winforms with c#.I also want to know How I can clicking the all [row](https://www.mindstick.com/forum/1212/this-row-already-belongs-to-this-table)?

Thanks in [advance](https://www.mindstick.com/blog/33258/jee-mains-and-jee-advance-exams)

## Replies

### Reply by shreesh chandra shukla

Solution!

Just handle the Click event on the list and use the ListView.SelectedItems property to get what items are selected:

```
private void listView1_Click(object sender, EventArgs e){    var
firstSelectedItem = listView1.SelectedItems[0];}
```


---

Original Source: https://www.mindstick.com/forum/1302/listview-item-select-in-winform-in-c-sharp

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
