user725913
user725913

Reputation:

c# Controlling Checkboxes within a ListView

I have been using the Listview's Checkboxes property to add a single checkbox control to each row in my ListView.

There is one problems with this however:

Issue: The CheckBoxes property only adds the checkbox in front of the first column. I would like a checkbox after the last column (if at all possible).

What I would like my ListView to look like:

| Column Header 1 | Column Header 2 | Column Header 3 |
    "some data"       "more data"      'CheckBox' Here

Thank you very much for any help with this!

Evan

Upvotes: 1

Views: 3046

Answers (1)

digEmAll
digEmAll

Reputation: 57210

Unfortunately, I don't think that's possible (or at least not easily).

If feasible, I'd suggest you to switch to a DataGridView, that gives you more control over columns types, and allows you to create one or more CheckBox columns wherever you want.

Upvotes: 2

Related Questions