I'm trying to come up with a good way to have a cell that can be clicked on to navigate to another window related to the entity chosen in the cell. Typical application navigation. The edit mode for the cell has a button on the far right which opens a pop up window that lets the user query for an instance and choose it. Thus the user is able to edit the relationships of the data. Nifty.
Problem is I'm trying to come up with a good way to both allow the navigation in the cell, and switch to edit view. If I put a button in the CellTemplate, then the button is clicked on, instead of entering into edit mode. And there appears to be no further way to enter edit mode.
I was hoping the grid view had some way to show a control to enter edit mode, that was built in, so I wouldn't have to write it. If not, is there a RoutedCommand that can be raised from within the cell's template in order to enter edit mode? If so, I guess I could put in my own edit button.
Problem is I'm trying to come up with a good way to both allow the navigation in the cell, and switch to edit view. If I put a button in the CellTemplate, then the button is clicked on, instead of entering into edit mode. And there appears to be no further way to enter edit mode.
I was hoping the grid view had some way to show a control to enter edit mode, that was built in, so I wouldn't have to write it. If not, is there a RoutedCommand that can be raised from within the cell's template in order to enter edit mode? If so, I guess I could put in my own edit button.