Click or drag to resize

InputClient Class

Version 107.1.120
Input
Inheritance Hierarchy

Namespace:  CefSharp.DevTools.Input
Assembly:  CefSharp (in CefSharp.dll) Version: 107.1.120.0 (107.1.120.0)
Syntax
public class InputClient : DevToolsDomainBase

The InputClient type exposes the following members.

Constructors
  NameDescription
Public methodInputClient
Input
Top
Methods
  NameDescription
Public methodDispatchDragEventAsync
Dispatches a drag event into the page.
Public methodDispatchKeyEventAsync
Dispatches a key event to the page.
Public methodDispatchMouseEventAsync
Dispatches a mouse event to the page.
Public methodDispatchTouchEventAsync
Dispatches a touch event to the page.
Public methodEmulateTouchFromMouseEventAsync
Emulates touch event from the mouse event parameters.
Protected methodEnumToString(Enum) (Inherited from DevToolsDomainBase.)
Protected methodEnumToString(ContentEncoding) (Inherited from DevToolsDomainBase.)
Protected methodEnumToString(CSPViolationType) (Inherited from DevToolsDomainBase.)
Protected methodEnumToString(DisabledImageType) (Inherited from DevToolsDomainBase.)
Protected methodEnumToString(PermissionType) (Inherited from DevToolsDomainBase.)
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 the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodImeSetCompositionAsync
This method sets the current candidate text for ime. Use imeCommitComposition to commit the final text. Use imeSetComposition with empty string as text to cancel composition.
Public methodInsertTextAsync
This method emulates inserting text that doesn't come from a key press, for example an emoji keyboard or an IME.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetIgnoreInputEventsAsync
Ignores input events (useful while auditing page).
Public methodSetInterceptDragsAsync
Prevents default drag and drop behavior and instead emits `Input.dragIntercepted` events. Drag and drop behavior can be directly controlled via `Input.dispatchDragEvent`.
Public methodSynthesizePinchGestureAsync
Synthesizes a pinch gesture over a time period by issuing appropriate touch events.
Public methodSynthesizeScrollGestureAsync
Synthesizes a scroll gesture over a time period by issuing appropriate touch events.
Public methodSynthesizeTapGestureAsync
Synthesizes a tap gesture over a time period by issuing appropriate touch events.
Protected methodToBase64String (Inherited from DevToolsDomainBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventDragIntercepted
Emitted only when `Input.setInterceptDrags` is enabled. Use this data with `Input.dispatchDragEvent` to restore normal drag and drop behavior.
Top
See Also