I have WPF 2009 SP2 (2009.2.701.35). I am attempting to control the expander (+ - ) on the grid. I use the following event
PreviewDataRecordCreate for the intialization of the grid to control the expander which works well. However i would like to validate the expander when the user selects the row (selectinchanged event)
I have tried to cast to the ExpandableDataRecord but this is always null. I would like validate that the expander is valid i.e. i do have data for the child grid. I am currently calling a rebind of the grid view but this does not help. I dont want to remove the row and re-add it as that seems to be a hack.
Secondly is there an event when the user clicks on the expander (+-) as this does cause a selectionchanged event?
The last question is that there is allot of classes marked as deprecated such as ExpandableDataRecord is there mechanism to look at which classes we should use instead as the forum posts would refer to the old classes?
Kind Regards,
Clinton