Class WheelEvent
Namespace: Aspose.Html.Dom.Events
Assembly: Aspose.HTML.dll (25.2.0)
The WheelEvent interface provides specific contextual information associated with wheel events. To create an instance of the WheelEvent interface, use the WheelEvent constructor, passing an optional WheelEventInit dictionary.
[ComVisible(true)]
[DOMObject]
[DOMName("WheelEvent")]
public class WheelEvent : MouseEvent, INotifyPropertyChanged
Inheritance
object ← DOMObject ← Event ← UIEvent ← MouseEvent ← WheelEvent
Implements
Inherited Members
MouseEvent.ScreenX, MouseEvent.ScreenY, MouseEvent.ClientX, MouseEvent.ClientY, MouseEvent.CtrlKey, MouseEvent.ShiftKey, MouseEvent.AltKey, MouseEvent.MetaKey, MouseEvent.Button, MouseEvent.Buttons, MouseEvent.RelatedTarget, UIEvent.View, UIEvent.Detail, Event.NonePhase, Event.CapturingPhase, Event.AtTargetPhase, Event.BubblingPhase, Event.InitEvent(string, bool, bool), Event.PreventDefault(), Event.StopPropagation(), Event.StopImmediatePropagation(), Event.Bubbles, Event.Cancelable, Event.CurrentTarget, Event.EventPhase, Event.Target, Event.TimeStamp, Event.Type, Event.DefaultPrevented, Event.IsTrusted, DOMObject.GetPlatformType(), object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
WheelEvent(string)
Initializes a new instance of the Aspose.Html.Dom.Events.WheelEvent class.
[DOMConstructor]
public WheelEvent(string type)
Parameters
type
string
The event type.
WheelEvent(string, IDictionary<string, object="">)
Initializes a new instance of the Aspose.Html.Dom.Events.WheelEvent class.
[DOMConstructor]
public WheelEvent(string type, IDictionary<string, object=""> eventInitDict)
Parameters
type
string
The event type.
eventInitDict
IDictionary<string, object>
The event initialize dictionary.
Fields
DOM_DELTA_LINE
The units of measurement for the delta MUST be individual lines of text. This is the case for many form controls.
public const ulong DOM_DELTA_LINE = 1
Field Value
DOM_DELTA_PAGE
The units of measurement for the delta MUST be pages, either defined as a single screen or as a demarcated page.
public const ulong DOM_DELTA_PAGE = 2
Field Value
DOM_DELTA_PIXEL
The units of measurement for the delta MUST be pixels. This is the most typical case in most operating system and implementation configurations.
public const ulong DOM_DELTA_PIXEL = 0
Field Value
Properties
DeltaMode
The deltaMode attribute contains an indication of the units of measurement for the delta values. The default value is DOM_DELTA_PIXEL (pixels).
[DOMName("deltaMode")]
public ulong DeltaMode { get; }
Property Value
DeltaX
In user agents where the default action of the wheel event is to scroll, the value MUST be the measurement along the x-axis (in pixels, lines, or pages) to be scrolled in the case where the event is not cancelled. Otherwise, this is an implementation-specific measurement (in pixels, lines, or pages) of the movement of a wheel device around the x-axis.
[DOMName("deltaX")]
public double DeltaX { get; }
Property Value
DeltaY
In user agents where the default action of the wheel event is to scroll, the value MUST be the measurement along the y-axis (in pixels, lines, or pages) to be scrolled in the case where the event is not cancelled. Otherwise, this is an implementation-specific measurement (in pixels, lines, or pages) of the movement of a wheel device around the y-axis.
[DOMName("deltaY")]
public double DeltaY { get; }
Property Value
DeltaZ
In user agents where the default action of the wheel event is to scroll, the value MUST be the measurement along the z-axis (in pixels, lines, or pages) to be scrolled in the case where the event is not cancelled. Otherwise, this is an implementation-specific measurement (in pixels, lines, or pages) of the movement of a wheel device around the z-axis.
[DOMName("deltaZ")]
public double DeltaZ { get; }
Property Value
double </string,></string,>