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
1425
Buttons in a rows in DataGrid
posted

Hi,

I have couple of button in each row that have routed command attached with them. The problem that I am having is when data in grid is scrolled up or down using mouse wheel, buttons don't invalidate themselves unless I click on that row.

Is there any DataRecord's property or event that tells record is in view, if there is I can probably call CommandManager.InvalidateRequerySuggested(); to re evaluate canexecute method. or otherwise How can I solve this? 

Thanks,

Imad.