WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CellMouseControllerDispatcher - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CellMouseControllerDispatcher

    VirtualizingCellsControl instantiates this MouseControllerDispatcher class which adds support for changing context of a mouse operation when pressing mouse inside a textbox or other UIElement and then switching to a cell selection mode when moving mouse outside textbox.

    Inheritance
    System.Object
    NonFinalizeDisposable
    MouseControllerDispatcher
    CellMouseControllerDispatcher
    Implements
    System.IDisposable
    System.Collections.IEnumerable
    IMouseEventsTarget
    Inherited Members
    MouseControllerDispatcher.CanHandleMouseDown
    MouseControllerDispatcher.Dispose(Boolean)
    MouseControllerDispatcher.ToString()
    MouseControllerDispatcher.Add(IMouseController)
    MouseControllerDispatcher.Remove(IMouseController)
    MouseControllerDispatcher.Clear()
    MouseControllerDispatcher.Contains(IMouseController)
    MouseControllerDispatcher.Find(String)
    MouseControllerDispatcher.IEnumerable.GetEnumerator()
    MouseControllerDispatcher.OnActiveControllerChanged(EventArgs)
    MouseControllerDispatcher.SetMouseHoverController(IMouseController, MouseEventArgs)
    MouseControllerDispatcher.HitTest(Point)
    MouseControllerDispatcher.HitTest(Point, MouseButton)
    MouseControllerDispatcher.HitTest(Point, MouseButton, IMouseController)
    MouseControllerDispatcher.HitTest(Point, Nullable<MouseButton>, Int32, IMouseController)
    MouseControllerDispatcher.HitTest(MouseControllerEventArgs, IMouseController)
    MouseControllerDispatcher.QueryWantsMouseInput(MouseDevice)
    MouseControllerDispatcher.ResetTrackMouse()
    MouseControllerDispatcher.OnTrackMouseChanged(EventArgs)
    MouseControllerDispatcher.StartTrackMouse()
    MouseControllerDispatcher.SetHost(FrameworkElement)
    MouseControllerDispatcher.OnMouseEnter(MouseEventArgs)
    MouseControllerDispatcher.OnMouseLeave(MouseEventArgs)
    MouseControllerDispatcher.OnDrop(DragEventArgs)
    MouseControllerDispatcher.OnMouseDown(MouseButtonEventArgs)
    MouseControllerDispatcher.OnMouseMove(MouseEventArgs)
    MouseControllerDispatcher.OnMouseUp(MouseButtonEventArgs)
    MouseControllerDispatcher.OnMouseWheel(MouseWheelEventArgs)
    MouseControllerDispatcher.OnPreviewMouseWheel(MouseWheelEventArgs)
    MouseControllerDispatcher.OnPreviewMouseDown(MouseButtonEventArgs)
    MouseControllerDispatcher.OnPreviewMouseMove(MouseEventArgs)
    MouseControllerDispatcher.OnPreviewMouseUp(MouseButtonEventArgs)
    MouseControllerDispatcher.SuspendMouse()
    MouseControllerDispatcher.ResumeMouse()
    MouseControllerDispatcher.CancelMode()
    MouseControllerDispatcher.CreateSuspendState()
    MouseControllerDispatcher.RestoreMode()
    MouseControllerDispatcher.OverrideMouseCursor
    MouseControllerDispatcher.Owner
    MouseControllerDispatcher.Cursor
    MouseControllerDispatcher.ActiveController
    MouseControllerDispatcher.MouseHoverController
    MouseControllerDispatcher.LastHitTestCode
    MouseControllerDispatcher.TrackMouse
    MouseControllerDispatcher.InMouseDown
    MouseControllerDispatcher.InMouseUp
    MouseControllerDispatcher.InMouseMove
    MouseControllerDispatcher.InCancelMode
    MouseControllerDispatcher.IgnoreMouse
    MouseControllerDispatcher.IsMouseTracking
    MouseControllerDispatcher.MouseDownLocation
    MouseControllerDispatcher.MouseDownTick
    MouseControllerDispatcher.IsMouseHovering
    MouseControllerDispatcher.IsCaptureCanceled
    MouseControllerDispatcher.CancelCaptureInfo
    MouseControllerDispatcher.ActiveControllerChanged
    MouseControllerDispatcher.TrackMouseChanged
    NonFinalizeDisposable.Dispose()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Controls.Cells
    Assembly: Syncfusion.GridCommon.Wpf.dll
    Syntax
    public class CellMouseControllerDispatcher : MouseControllerDispatcher, IDisposable, IEnumerable, IMouseEventsTarget

    Constructors

    CellMouseControllerDispatcher(VirtualizingCellsControl)

    Initializes a new instance of the CellMouseControllerDispatcher class.

    Declaration
    public CellMouseControllerDispatcher(VirtualizingCellsControl owner)
    Parameters
    Type Name Description
    VirtualizingCellsControl owner

    The owner.

    Properties

    IsMouseCapturedByChildElement

    Gets a value indicating whether this instance is mouse captured by child element.

    Declaration
    public override bool IsMouseCapturedByChildElement { get; }
    Property Value
    Type Description
    System.Boolean

    true if this instance is mouse captured by child element; otherwise, false.

    Overrides
    MouseControllerDispatcher.IsMouseCapturedByChildElement

    Methods

    CreateCaptureInfo(Point)

    Creates the capture info (Syncfusion.Windows.Controls.Cells.CellMouseCaptureInfo) when the mouse pressed inside a child UIElement.

    Declaration
    protected override ICaptureContext CreateCaptureInfo(Point point)
    Parameters
    Type Name Description
    System.Windows.Point point

    The point.

    Returns
    Type Description
    ICaptureContext
    Overrides
    MouseControllerDispatcher.CreateCaptureInfo(Point)

    IsMouseOperationOrigin(RowColumnIndex)

    Determines whether the specified cell is the same cell used for creating the CancelCaptureInfo.

    Declaration
    public virtual bool IsMouseOperationOrigin(RowColumnIndex cellRowColumnIndex)
    Parameters
    Type Name Description
    RowColumnIndex cellRowColumnIndex

    Index of the cells row column.

    Returns
    Type Description
    System.Boolean

    true if the specified cell is the same cell used for creating the CancelCaptureInfo; otherwise, false.

    Implements

    System.IDisposable
    System.Collections.IEnumerable
    IMouseEventsTarget

    Extension Methods

    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved