DotNetBrowser  1.14
Classes | Enumerations | Functions
DotNetBrowser.DOM.Events Namespace Reference

Classes

class  DOMCustomEvent
 
class  DOMEvent
 Represents DOM event. More...
 
class  DOMEventArgs
 Provides access to the DOM event data. More...
 
interface  DOMEventTarget
 This interface is implemented by all DOMElement that supports DOM event model. More...
 
class  DOMEventTypeAttribute
 
class  DOMEventTypes
 

Enumerations

enum  DOMEventPhase { DOMEventPhase.CapturingPhase = 1, DOMEventPhase.AtTarget = 2, DOMEventPhase.BubblingPhase = 3 }
 List of DOM event phases More...
 
enum  DOMEventType {
  DOMEventType.OnClick = 1 << 6, DOMEventType.OnDoubleClick = 1 << 7, DOMEventType.OnMouseDown = 1 << 8, DOMEventType.OnMouseUp = 1 << 9,
  DOMEventType.OnMouseOver = 1 << 10, DOMEventType.OnMouseMove = 1 << 11, DOMEventType.OnMouseOut = 1 << 12, DOMEventType.OnKeyDown = 1 << 13,
  DOMEventType.OnKeyUp = 1 << 14, DOMEventType.OnKeyPress = 1 << 15, DOMEventType.OnLoad = 1 << 16, DOMEventType.OnUnload = 1 << 17,
  DOMEventType.OnAbort = 1 << 18, DOMEventType.OnError = 1 << 19, DOMEventType.OnResize = 1 << 20, DOMEventType.OnScroll = 1 << 21,
  DOMEventType.OnSelect = 1 << 22, DOMEventType.OnChange = 1 << 23, DOMEventType.OnSubmit = 1 << 24, DOMEventType.OnReset = 1 << 25,
  DOMEventType.OnFocus = 1 << 26, DOMEventType.OnBlur = 1 << 27, DOMEventType.Custom = 1 << 28
}
 The list of supported HTML event types. More...
 

Functions

delegate void DOMEventHandler (object sender, DOMEventArgs e)
 Represents the method that will handle whenever an DOM event occurs. More...
 

Enumeration Type Documentation

List of DOM event phases

Enumerator
CapturingPhase 
AtTarget 
BubblingPhase 

The list of supported HTML event types.

Enumerator
OnClick 

Fires when the pointing device button is clicked over an element. A click is defined as a mousedown and mouseup over the same screen location.

OnDoubleClick 

Fires when the pointing device button is double clicked over an element.

OnMouseDown 

Fires when the pointing device button is pressed over an element.

OnMouseUp 

Fires when the pointing device button is released over an element.

OnMouseOver 

Fires when the pointing device is moved onto an element.

OnMouseMove 

Fires when the pointing device is moved while it is over an element.

OnMouseOut 

Fires when the pointing device is moved away from an element.

OnKeyDown 

Fires before keypress, when a key on the keyboard is pressed.

OnKeyUp 

Fires when a key on the keyboard is released

OnKeyPress 

Fires after keydown, when a key on the keyboard is pressed.

OnLoad 

Fires when the user agent finishes loading all content within a document, including window, frames, objects and images. For elements, it fires when the target element and all of its content has finished loading.

OnUnload 

Fires when the user agent removes all content from a window or frame. For elements, it fires when the target element or any of its content has been removed.

OnAbort 

Fires when an object/image is stopped from loading before completely loaded.

OnError 

Fires when an object/image/frame cannot be loaded properly.

OnResize 

Fires when a document view is resized.

OnScroll 

Fires when a document view is scrolled.

OnSelect 

Fires when a user selects some text in a text field, including input and textarea.

OnChange 

Fires when a control loses the input focus and its value has been modified since gaining focus.

OnSubmit 

Fires when a form is submitted.

OnReset 

Fires when a form is reset.

OnFocus 

Fires when an element receives focus either via the pointing device or by tab navigation.

OnBlur 

Fires when an element loses focus either via the pointing device or by tabbing navigation.

Custom 

Function Documentation

delegate void DotNetBrowser.DOM.Events.DOMEventHandler ( object  sender,
DOMEventArgs  e 
)

Represents the method that will handle whenever an DOM event occurs.

Parameters
senderThe source of the event.
eThe event data DOMEventArgs.