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
Inherited Members
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 |
|
Overrides
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 |
---|
ICaptureContext |
Overrides
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 |
|