I am/was calling the ListChangeEvent. The list sorts when I call ApplySort,
but a new object is added to the list, it is not sorted properly. My
understanding is that new objects added would be sorted to the proper
position.


On Thu, 8 Aug 2002 09:57:14 -0700, Xavier Musy <[EMAIL PROTECTED]>
wrote:

>Make sure you fire the ListChanged event to notify bound controls or
>listeners of the list sort:
>
>void IBindingList.ApplySort(PropertyDescriptor property,
>ListSortDirection direction)
>{
>        // do sort here
>
>        ListChanged(this, new
>ListChangedEventArgs(ListChangedType.Reset, null)
>}
>
>HTH,
>--Xavier
>

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to