Class ScrollControllMouseControllerDispatcher
ScrollControllMouseControllerDispatcher is a specialized version of MouseControllerDispatcher that automatically wires itself up with a ScrollControl.
Inheritance
System.Object
ScrollControllMouseControllerDispatcher
Implements
System.IDisposable
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Syncfusion.Windows.Forms
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class ScrollControllMouseControllerDispatcher : MouseControllerDispatcher, IDisposable, IEnumerable
Remarks
If the control that MouseControllerDispatcher should be associated with is derived from ScrollControl, you should use ScrollControllMouseControllerDispatcher because it will automatically hook itself up with mouse events from ScrollControl.
No initialization is necessary.
You can register MouseControllers with:
resizeCellsController = new GridResizeCellsMouseController(this);
MouseControllerDispatcher.Add(resizeCellsController);
See ScrollControl.MouseControllerDispatcher property.
Constructors
ScrollControllMouseControllerDispatcher(ScrollControl)
Initializes a ScrollControllMouseControllerDispatcher object and associates it with a ScrollControl.
Declaration
public ScrollControllMouseControllerDispatcher(ScrollControl owner)
Parameters
Type | Name | Description |
---|---|---|
ScrollControl | owner | The ScrollControl this object is associated with. |
Methods
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
Implements
System.IDisposable
System.Collections.IEnumerable