編輯

共用方式為


DomMouseEvent.InitEvent Method

Definition

Caution

Use the constructor instead.

[Foundation.Export("initMouseEvent:canBubble:cancelable:view:detail:screenX:screenY:clientX:clientY:ctrlKey:altKey:shiftKey:metaKey:button:relatedTarget:")]
[System.Obsolete("Use the constructor instead.", false)]
public virtual void InitEvent (string eventType, bool canBubble, bool cancelable, WebKit.DomAbstractView view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, ushort button, WebKit.IDomEventTarget relatedTarget);
override this.InitEvent : string * bool * bool * WebKit.DomAbstractView * int * int * int * int * int * bool * bool * bool * bool * uint16 * WebKit.IDomEventTarget -> unit

Parameters

eventType
String
canBubble
Boolean
cancelable
Boolean
detail
Int32
screenX
Int32
screenY
Int32
clientX
Int32
clientY
Int32
ctrlKey
Boolean
altKey
Boolean
shiftKey
Boolean
metaKey
Boolean
button
UInt16
relatedTarget
IDomEventTarget
Attributes

Applies to