Hi,
I have a grid in which I have 2 custom columns, a DELETE button and a STOP button.
These buttons are changed dinamiclly by code according to certain conditions.
but when I add a new row by clicking the [Click here to add new item] these 2 buttons appears and the user can click them but it's not possible at this time.
So the question is how do I make my buttons invisible when clicking on the button to add a new row ?
I tried in the event AddingNewDataItem(...) but in there the e object have nothing to help me. I mean I tried with OwnerGridViewItemsControl but even the ParenRow is null or I tried also with ParentOfType<GridviewRow> without success.
So just to say that I really don't know how to make my buttons invisible hwne clicking on the [Click here to add new item]
I have a grid in which I have 2 custom columns, a DELETE button and a STOP button.
These buttons are changed dinamiclly by code according to certain conditions.
but when I add a new row by clicking the [Click here to add new item] these 2 buttons appears and the user can click them but it's not possible at this time.
So the question is how do I make my buttons invisible when clicking on the button to add a new row ?
I tried in the event AddingNewDataItem(...) but in there the e object have nothing to help me. I mean I tried with OwnerGridViewItemsControl but even the ParenRow is null or I tried also with ParentOfType<GridviewRow> without success.
So just to say that I really don't know how to make my buttons invisible hwne clicking on the [Click here to add new item]