Is there any DataView.RowFilter 'changedevent' ?

  • Thread starter Thread starter idiot
  • Start date Start date
I

idiot

It seems that when I change the DataView.RowFilter
property,BindingManagerBase.PositionChanged event is not trigged.
 
BindingManagerBase is an abstract class, so an derived implementation must
actually listen to the DataView.ListChanged events and translate those events
into a PositionChanged event. When the DataView.RowFilter is set, a
ListChanged event is fired with ListChangedType.Reset.

For example the CurrencyManager will fire a PositionChanged when and
individual element moves, but not on a reset; instead a
CurrencyManager.ItemChanged event is triggered.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top