Click here to Skip to main content
15,891,136 members

Comments by BabyHai (Top 2 by date)

BabyHai 9-Sep-23 5:20am View    
It's not to insert an item. let's say I have TreeViewItem A1 and B1, each item has its own child nodes, A1.1, A1.2 or B1.1,B1.2. Now I want to drag B1.2 before B1.1, or drag B1.2 between A1.1 and A1.2. Meanwhile, B1.2 is deleted from B1 node in second case.
This is the reorder I mean, hope I explain it right.
BabyHai 5-Oct-22 11:30am View    
I don't want to delete or add rows in the Datagrid. Actually I use the Datagrid as a data pool. Rows inside it are available for me to select by checking the checkbox. Even I change values in the Datagrid, the modification only works for current runtime. That's why I didn't add INotifyPropertChanged to the ExcelDataEntry and vise versa by unchecking.
What I want to implement is, when I check one row, the instance representing the row will be added to the List<exceldataentry> generalNoteList of the item in the Listbox.