I have a grid with two columns and multiple rows, each cell containing a number of controls. Among these controls I have a button which should, when I press it, delete all the controls in the current grid cell. How can I get the index of the grid cell my button is in and how can I delete all controls in this cell?
Share
Does this work for you? you’ll need to add a
usingstatement forSystem.Linq