WheelEvent Class
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.
Inheritance Hierarchy

Namespace: Aspose.Html.Dom.Events
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 21.4
Syntax
public class WheelEvent : MouseEvent

The WheelEvent type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAltKey
Refer to the altKey attribute.
(Inherited from MouseEvent.)
Public propertyBubbles
Used to indicate whether or not an event is a bubbling event. If the event can bubble the value is true, else the value is false.
(Inherited from Event.)
Public propertyButton
During mouse events caused by the depression or release of a mouse button, button MUST be used to indicate which pointer device button changed state.
(Inherited from MouseEvent.)
Public propertyButtons
During any mouse events, buttons MUST be used to indicate which combination of mouse buttons are currently being pressed, expressed as a bitmask.
(Inherited from MouseEvent.)
Public propertyCancelable
Used to indicate whether or not an event can have its default action prevented. If the default action can be prevented the value is true, else the value is false.
(Inherited from Event.)
Public propertyClientX
The horizontal coordinate at which the event occurred relative to the viewport associated with the event.
(Inherited from MouseEvent.)
Public propertyClientY
The vertical coordinate at which the event occurred relative to the viewport associated with the event.
(Inherited from MouseEvent.)
Public propertyCtrlKey
Refer to the ctrlKey attribute.
(Inherited from MouseEvent.)
Public propertyCurrentTarget
Used to indicate the IEventTarget whose IEventListeners are currently being processed. This is particularly useful during capturing and bubbling.
(Inherited from Event.)
Public propertyDefaultPrevented
Returns true if preventDefault() was invoked while the cancelable attribute value is true, and false otherwise.
(Inherited from Event.)
Public propertyDeltaMode
The deltaMode attribute contains an indication of the units of measurement for the delta values. The default value is DOM_DELTA_PIXEL (pixels).
Public propertyDeltaX
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.
Public propertyDeltaY
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.
Public propertyDeltaZ
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.
Public propertyDetail
Specifies some detail information about the Event, depending on the type of event.
(Inherited from UIEvent.)
Public propertyEventPhase
Used to indicate which phase of event flow is currently being evaluated.
(Inherited from Event.)
Public propertyIsTrusted
The isTrusted attribute must return the value it was initialized to. When an event is created the attribute must be initialized to false.
(Inherited from Event.)
Public propertyMetaKey
Refer to the metaKey attribute.
(Inherited from MouseEvent.)
Public propertyRelatedTarget
Used to identify a secondary EventTarget related to a UI event, depending on the type of event.
(Inherited from MouseEvent.)
Public propertyScreenX
The horizontal coordinate at which the event occurred relative to the origin of the screen coordinate system.
(Inherited from MouseEvent.)
Public propertyScreenY
The vertical coordinate at which the event occurred relative to the origin of the screen coordinate system.
(Inherited from MouseEvent.)
Public propertyShiftKey
Refer to the shiftKey attribute.
(Inherited from MouseEvent.)
Public propertyTarget
Used to indicate the IEventTarget to which the event was originally dispatched.
(Inherited from Event.)
Public propertyTimeStamp
Used to specify the time (in milliseconds relative to the epoch) at which the event was created. Due to the fact that some systems may not provide this information the value of timeStamp may be not available for all events. When not available, a value of 0 will be returned. Examples of epoch time are the time of the system start or 0:0:0 UTC 1st January 1970.
(Inherited from Event.)
Public propertyType
The name of the event (case-insensitive). The name must be an XML name.
(Inherited from Event.)
Public propertyView
The view attribute identifies the Window from which the event was generated. The un-initialized value of this attribute MUST be null.
(Inherited from UIEvent.)
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodInitEvent
The InitEvent(String, Boolean, Boolean) method is used to initialize the value of an Event created through the IDocumentEvent interface.
(Inherited from Event.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPreventDefault
If an event is cancelable, the PreventDefault method is used to signify that the event is to be canceled, meaning any default action normally taken by the implementation as a result of the event will not occur.
(Inherited from Event.)
Public methodStopImmediatePropagation
Invoking this method prevents event from reaching any event listeners registered after the current one and when dispatched in a tree also prevents event from reaching any other objects.
(Inherited from Event.)
Public methodStopPropagation
The StopPropagation method is used prevent further propagation of an event during event flow.
(Inherited from Event.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Fields
  NameDescription
Public fieldStatic memberDOM_DELTA_LINE
The units of measurement for the delta MUST be individual lines of text. This is the case for many form controls.
Public fieldStatic memberDOM_DELTA_PAGE
The units of measurement for the delta MUST be pages, either defined as a single screen or as a demarcated page.
Public fieldStatic memberDOM_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.
See Also