Then you have to find out which SubItem has been clicked. Since this control is used only when a SubItem has been clicked, it should be invisible in the beginning. TextBox, ComboBox or DateTimePicker works fine, for example. Which control you use is (almost) completely up to you. NET Framework classes aren't sufficient, so I had to use a little Interop.įirst, you have to have a control to perform the actual editing of the SubItem. In fact, in-place editing in a ListView isn't too much magic, but there are a few places where the plain. Because I didn't find anything pre-built, I decided to write my own in-place editing for ListViews, so here it is. Showing these documents in a ListView can be done easily, but editing of single properties requires a little work (since built-in ListView only allows plain editing of a ListViewItem's text). While talking with one of our customers, he wanted an additional feature in one of our programs to let him drop a number of files onto our application and then modify certain properties of the resulting documents in a list.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |