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
985
XamDataGrid.SelectedItemsChanged
posted

Hi there,

 i have a small problem. I´m using the xamdatagrid and using the SelectedItemsChanged-Event.

In this event i just want to do something if the SelectedItem is a Field.

so i´m using this code:

if (e.Type == typeof(Field))
{


}

 

but when i select a field and THEN select a cell, it goes right in the if-pattern but it shouldn´t because it´s a cell and not a field.

can you help me out?

 

regards

cloud