Click here to Skip to main content
15,860,972 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
AnswerRe: Anyone else have issues with the latest windows 10 update? Pin
W Balboos, GHB12-May-21 5:54
W Balboos, GHB12-May-21 5:54 
AnswerRe: Anyone else have issues with the latest windows 10 update? Pin
Rage12-May-21 6:06
professionalRage12-May-21 6:06 
Generala new word for the special kind of chagrin you experience when ... Pin
BillWoodruff12-May-21 3:01
professionalBillWoodruff12-May-21 3:01 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
honey the codewitch12-May-21 3:10
mvahoney the codewitch12-May-21 3:10 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
BillWoodruff12-May-21 14:50
professionalBillWoodruff12-May-21 14:50 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
honey the codewitch12-May-21 14:58
mvahoney the codewitch12-May-21 14:58 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
BillWoodruff12-May-21 17:07
professionalBillWoodruff12-May-21 17:07 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
honey the codewitch12-May-21 18:23
mvahoney the codewitch12-May-21 18:23 
Sorted collections are supposed to enforce sorted order *always*

So I'm not sure what you're trying to accomplish.

If you want a container that's not sorted until you sort it you should consider using an unsorted list and then running sort on it.

Otherwise I don't understand why you'd need it to resort on property changed, unless wait .. are you trying to change the sorting rules?

Depending on the context, you might consider IBindingListView if you want it to be bindable. If you're thinking INotifyPropertyChanged, you're probably better off implementing the above ,or maybe just using BindingList<t> - i think that handles sorts with rules.
Real programmers use butterflies

GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
BillWoodruff12-May-21 22:13
professionalBillWoodruff12-May-21 22:13 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
honey the codewitch12-May-21 23:27
mvahoney the codewitch12-May-21 23:27 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
BillWoodruff13-May-21 0:06
professionalBillWoodruff13-May-21 0:06 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
honey the codewitch13-May-21 0:14
mvahoney the codewitch13-May-21 0:14 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
BillWoodruff13-May-21 20:26
professionalBillWoodruff13-May-21 20:26 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
honey the codewitch13-May-21 23:47
mvahoney the codewitch13-May-21 23:47 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
BillWoodruff14-May-21 1:19
professionalBillWoodruff14-May-21 1:19 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
honey the codewitch14-May-21 1:41
mvahoney the codewitch14-May-21 1:41 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
BillWoodruff14-May-21 15:28
professionalBillWoodruff14-May-21 15:28 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
Rich Leyshon12-May-21 3:17
Rich Leyshon12-May-21 3:17 
JokeRe: a new word for the special kind of chagrin you experience when ... Pin
W Balboos, GHB12-May-21 5:57
W Balboos, GHB12-May-21 5:57 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
Chris Maunder12-May-21 6:13
cofounderChris Maunder12-May-21 6:13 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
BillWoodruff12-May-21 15:00
professionalBillWoodruff12-May-21 15:00 
JokeRe: a new word for the special kind of chagrin you experience when ... Pin
Daniel Pfeffer12-May-21 6:20
professionalDaniel Pfeffer12-May-21 6:20 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
BillWoodruff12-May-21 14:53
professionalBillWoodruff12-May-21 14:53 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
obermd13-May-21 4:33
obermd13-May-21 4:33 
GeneralRe: a new word for the special kind of chagrin you experience when ... Pin
BillWoodruff13-May-21 20:20
professionalBillWoodruff13-May-21 20:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.