| IKeyEvent Interface | 
This event occurs when a user performs some keyboard action, for example presses or releases a keyboard key.
Namespace: DotNetBrowser.Dom.Events
 Syntax
Syntaxpublic interface IKeyEvent : IUiKeyEventModifier, IEvent, IAutoDisposable
The IKeyEvent type exposes the following members.
 Properties
Properties| Name | Description | |
|---|---|---|
|  | Bubbles | 
                Indicates whether an event is a bubbling event.
            (Inherited from IEvent.) | 
|  | Cancelable | 
                Indicates whether an event can have its default action
                prevented.
            (Inherited from IEvent.) | 
|  | Character | 
                Gets the character generated by pressing the key.
             | 
|  | 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.) | 
|  | KeyCode | 
                Gets the key code that represents a physical key on the keyboard.
             | 
|  | KeyModifiers | 
                Gets the key modifiers that are applied to the event.
            (Inherited from IUiKeyEventModifier.) | 
|  | 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.) | 
 Methods
Methods| 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.) | 
 Events
Events| Name | Description | |
|---|---|---|
|  | Disposed | 
                Occurs when the object has been disposed.
            (Inherited from IAutoDisposable.) | 
 See Also
See Also