Interface IHitTestSelectCells
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.
Namespace: Syncfusion.Windows.Controls.Scroll
Assembly: Syncfusion.GridCommon.WPF.dll
Syntax
public interface IHitTestSelectCells
Methods
MouseDown(FrameworkElement, MouseControllerEventArgs)
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.
Declaration
void MouseDown(FrameworkElement owner, MouseControllerEventArgs mouseControllerEventArgs)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.FrameworkElement | owner | The owner. |
MouseControllerEventArgs | mouseControllerEventArgs | The MouseControllerEventArgs instance containing the event data. |