Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
350
XamDataGrid CollectionViewSource(Currentchanged is not executing when i move between record in the XamDataGrid)
posted

Hi,

Code Snippet:

BindingList<SalesPerson> persons=new  BindingList<SalesPerson>();

.... code that populates the persons.

CollcetionViewSource cvs=new CollectionViewSource();

cvs.Source=persons;

cvs.View.CurrentChanged += new EventHandler(CollectionView_CurrentChanged);

 

public void  CollectionView_CurrentChanged(...)

{

does something....

}

<igDP:XamDataGrid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" DataSource="{Binding Path=cvs.View}

 

Question:

Currentchanged is not executing when i move between record in the XamDataGrid.