ListView
-
Hi, How do i select the whole listViewItem line (all the subitems of an item) when trying to copy it in the clipboard? I have a listView with 5 columns. When i try to select 1 row it only selects the first column value not the whole row.. any ideas? Regards, Alex
“Be the change you want to see in the world.”
-
Hi, How do i select the whole listViewItem line (all the subitems of an item) when trying to copy it in the clipboard? I have a listView with 5 columns. When i try to select 1 row it only selects the first column value not the whole row.. any ideas? Regards, Alex
“Be the change you want to see in the world.”
Assuming this is a Windows Forms ListView. I don't know if it will make any difference to a drag-drop operation, but
ListView
has aFullRowSelect
property, which er... well it does what it says on the tin. :)Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”
-
Hi, How do i select the whole listViewItem line (all the subitems of an item) when trying to copy it in the clipboard? I have a listView with 5 columns. When i try to select 1 row it only selects the first column value not the whole row.. any ideas? Regards, Alex
“Be the change you want to see in the world.”
Set the FullRowSelect property to true. for example, listView1.FullRowSelect = true;
-
Hi, How do i select the whole listViewItem line (all the subitems of an item) when trying to copy it in the clipboard? I have a listView with 5 columns. When i try to select 1 row it only selects the first column value not the whole row.. any ideas? Regards, Alex
“Be the change you want to see in the world.”