IMouseEvent Interface |
This event occurs when a user performs an action with a pointing device (such as a mouse), for example moves the mouse or clicks a mouse button.
Namespace: DotNetBrowser.Dom.Events
public interface IMouseEvent : IUiKeyEventModifier, IEvent, IAutoDisposable
The IMouseEvent type exposes the following members.
Name | Description | |
---|---|---|
Bubbles |
Indicates whether an event is a bubbling event.
(Inherited from IEvent.) | |
Button |
Gets the button which was pressed on the mouse to trigger the event.
| |
Cancelable |
Indicates whether an event can have its default action
prevented.
(Inherited from IEvent.) | |
ClickCount |
Gets the click count.
| |
ClientLocation |
Gets the location of the mouse cursor in the local (DOM content) coordinate system at the time the
event occurred.
| |
CurrentTarget |
Gets the IEventTarget whose event listeners are currently
being processed.
(Inherited from IEvent.) | |
EventPhase |
Gets the phase of event flow.
(Inherited from IEvent.) | |
IsDisposed |
Indicates if the object is already disposed.
(Inherited from IAutoDisposable.) | |
KeyModifiers |
Gets the key modifiers that are applied to the event.
(Inherited from IUiKeyEventModifier.) | |
OffsetLocation |
Gets the location of the mouse cursor in the component's coordinate system at the time the
event occurred.
| |
ScreenLocation |
Gets the location of the mouse cursor in the screen's coordinate system at the time the
event occurred.
| |
Target |
Gets the IEventTarget to which the event was originally dispatched.
(Inherited from IEvent.) | |
Type |
Gets the type of this DOM event.
(Inherited from IEvent.) |
Name | Description | |
---|---|---|
PreventDefault |
Cancels the event if it is cancelable, without stopping further propagation of the event.
(Inherited from IEvent.) | |
StopPropagation |
Prevents further propagation of the current event.
(Inherited from IEvent.) |
Name | Description | |
---|---|---|
Disposed |
Occurs when the object has been disposed.
(Inherited from IAutoDisposable.) |