This interface can optionially be implemented by a cell renderer. When the user presses or release the mouse button MouseControllerDispatcher checks whether the mouse was pressed directly over a renderer (in such case MouseControllerEventArgs.DirectlyOverRenderer should have been set). If the interface is implemented the MouseDown and MouseUp methods are called.
The grids cell renderers implement this interface to move the current cell to the cell when the mouse is clicked inside the cells live UIElement visual.
public interface IHitTestSelectCells
MouseDown is called when MouseControllerDispatcher.HitTest did not return a controller to be set as ActiveController and the mouse was pressed over a UIElement inside a cell which hosts this renderer.
void MouseDown(FrameworkElement owner, MouseControllerEventArgs mouseControllerEventArgs)
The MouseControllerEventArgs instance containing the event data.