Bind IsEnable Property of a Button

Jun 2, 2009 at 9:32 AM

Hi,

I have a Datagrid and a couple of buttons linked to it, a New Button and a Delete Button. I need to set the IsEnabled property of the Delete Button to false if there is no item in the grid to delete, and to true if it is.

Does anybody know how to do it?

Thanks in advance.