WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IHitTestSelectCells

    Show / Hide Table of Contents

    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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved