Class ScrollControlMouseEventArgs
Provides data for mouse related events in the ScrollControl and allows you to specify whether the ScrollControls mouse event listeners should be prevented from handling the event with the SkipListeners property.
Inheritance
Namespace: Syncfusion.Windows.Controls.Scroll
Assembly: Syncfusion.GridCommon.WPF.dll
Syntax
public class ScrollControlMouseEventArgs : MouseEventArgs
Constructors
ScrollControlMouseEventArgs(MouseDevice, Int32, StylusDevice)
Initializes a new instance of the System.Windows.Input.MouseEventArgs class by using the specified System.Windows.Input.MouseDevice, timestamp, and System.Windows.Input.Mouse.
Declaration
public ScrollControlMouseEventArgs(MouseDevice mouse, int timestamp, StylusDevice stylusDevice)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseDevice | mouse | The logical mouse device associated with this event. |
System.Int32 | timestamp | The time the event occurred. |
System.Windows.Input.StylusDevice | stylusDevice | The stylus device associated with this event. |
Properties
SkipListeners
Gets or sets a value indicating whether the ScrollControl should forward this event to registered MouseEventListeners. Set this property true if you do want to prevent the MouseControllerDispatcher and other listeners to handle this event. The property does not affect the System.Windows.RoutedEventArgs.Handled state of the underlying mouse event. You can however optionally set the System.Windows.RoutedEventArgs.Handled property to mark the underlying mouse event as handled.
Declaration
public bool SkipListeners { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
InvokeEventHandler(Delegate, Object)
Invokes event handlers in a type-specific way, which can increase event system efficiency.
Declaration
protected override void InvokeEventHandler(Delegate genericHandler, object genericTarget)
Parameters
Type | Name | Description |
---|---|---|
System.Delegate | genericHandler | The generic handler to call in a type-specific way. |
System.Object | genericTarget | The target to call the handler on. |