Click or drag to resize

ChromiumHostControl Events

Version 130.1.90

The ChromiumHostControl type exposes the following members.

Events
 NameDescription
Public eventAddressChanged Occurs when the browser address changed. It's important to note this event is fired on a CEF UI thread, which by default is not the same as your application UI thread. It is unwise to block on this thread for any length of time as your browser will become unresponsive and/or hang.. To access UI elements you'll need to Invoke/Dispatch onto the UI Thread.
Public eventAutoSizeChangedThis event is not relevant for this class.
(Inherited from Control)
Public eventBackColorChangedOccurs when the value of the BackColor property changes.
(Inherited from Control)
Public eventBackgroundImageChangedOccurs when the value of the BackgroundImage property changes.
(Inherited from Control)
Public eventBackgroundImageLayoutChangedOccurs when the BackgroundImageLayout property changes.
(Inherited from Control)
Public eventBindingContextChangedOccurs when the value of the BindingContext property changes.
(Inherited from Control)
Public eventCausesValidationChangedOccurs when the value of the CausesValidation property changes.
(Inherited from Control)
Public eventChangeUICuesOccurs when the focus or keyboard user interface (UI) cues change.
(Inherited from Control)
Public eventClickOccurs when the control is clicked.
(Inherited from Control)
Public eventClientSizeChangedOccurs when the value of the ClientSize property changes.
(Inherited from Control)
Public eventConsoleMessage Event handler for receiving Javascript console messages being sent from web pages. It's important to note this event is fired on a CEF UI thread, which by default is not the same as your application UI thread. It is unwise to block on this thread for any length of time as your browser will become unresponsive and/or hang.. To access UI elements you'll need to Invoke/Dispatch onto the UI Thread. (The exception to this is when you're running with settings.MultiThreadedMessageLoop = false, then they'll be the same thread).
Public eventContextMenuChangedOccurs when the value of the ContextMenu property changes.
(Inherited from Control)
Public eventContextMenuStripChangedOccurs when the value of the ContextMenuStrip property changes.
(Inherited from Control)
Public eventControlAddedOccurs when a new control is added to the ControlControlCollection.
(Inherited from Control)
Public eventControlRemovedOccurs when a control is removed from the ControlControlCollection.
(Inherited from Control)
Public eventCursorChangedOccurs when the value of the Cursor property changes.
(Inherited from Control)
Public eventDisposedOccurs when the component is disposed by a call to the Dispose method.
(Inherited from Component)
Public eventDockChangedOccurs when the value of the Dock property changes.
(Inherited from Control)
Public eventDoubleClickOccurs when the control is double-clicked.
(Inherited from Control)
Public eventDragDropOccurs when a drag-and-drop operation is completed.
(Inherited from Control)
Public eventDragEnterOccurs when an object is dragged into the control's bounds.
(Inherited from Control)
Public eventDragLeaveOccurs when an object is dragged out of the control's bounds.
(Inherited from Control)
Public eventDragOverOccurs when an object is dragged over the control's bounds.
(Inherited from Control)
Public eventEnabledChangedOccurs when the Enabled property value has changed.
(Inherited from Control)
Public eventEnterOccurs when the control is entered.
(Inherited from Control)
Public eventFontChangedOccurs when the Font property value changes.
(Inherited from Control)
Public eventForeColorChangedOccurs when the ForeColor property value changes.
(Inherited from Control)
Public eventFrameLoadEnd Event handler that will get called when the browser is done loading a frame. Multiple frames may be loading at the same time. Sub-frames may start or continue loading after the main frame load has ended. This method will always be called for all frames irrespective of whether the request completes successfully. It's important to note this event is fired on a CEF UI thread, which by default is not the same as your application UI thread. It is unwise to block on this thread for any length of time as your browser will become unresponsive and/or hang.. To access UI elements you'll need to Invoke/Dispatch onto the UI Thread.
Public eventFrameLoadStart Event handler that will get called when the browser begins loading a frame. Multiple frames may be loading at the same time. Sub-frames may start or continue loading after the main frame load has ended. This method may not be called for a particular frame if the load request for that frame fails. For notification of overall browser load status use OnLoadingStateChange instead. It's important to note this event is fired on a CEF UI thread, which by default is not the same as your application UI thread. It is unwise to block on this thread for any length of time as your browser will become unresponsive and/or hang.. To access UI elements you'll need to Invoke/Dispatch onto the UI Thread.
Public eventGiveFeedbackOccurs during a drag operation.
(Inherited from Control)
Public eventGotFocusOccurs when the control receives focus.
(Inherited from Control)
Public eventHandleCreatedOccurs when a handle is created for the control.
(Inherited from Control)
Public eventHandleDestroyedOccurs when the control's handle is in the process of being destroyed.
(Inherited from Control)
Public eventHelpRequestedOccurs when the user requests help for a control.
(Inherited from Control)
Public eventImeModeChangedOccurs when the ImeMode property has changed.
(Inherited from Control)
Public eventInvalidatedOccurs when a control's display requires redrawing.
(Inherited from Control)
Public eventIsBrowserInitializedChanged Event called after the underlying CEF browser instance has been created. It's important to note this event is fired on a CEF UI thread, which by default is not the same as your application UI thread. It is unwise to block on this thread for any length of time as your browser will become unresponsive and/or hang.. To access UI elements you'll need to Invoke/Dispatch onto the UI Thread.
(Inherited from ChromiumHostControlBase)
Public eventKeyDownOccurs when a key is pressed while the control has focus.
(Inherited from Control)
Public eventKeyPressOccurs when a character. space or backspace key is pressed while the control has focus.
(Inherited from Control)
Public eventKeyUpOccurs when a key is released while the control has focus.
(Inherited from Control)
Public eventLayoutOccurs when a control should reposition its child controls.
(Inherited from Control)
Public eventLeaveOccurs when the input focus leaves the control.
(Inherited from Control)
Public eventLoadError Event handler that will get called when the resource load for a navigation fails or is canceled. It's important to note this event is fired on a CEF UI thread, which by default is not the same as your application UI thread. It is unwise to block on this thread for any length of time as your browser will become unresponsive and/or hang.. To access UI elements you'll need to Invoke/Dispatch onto the UI Thread.
Public eventLoadingStateChanged Event handler that will get called when the Loading state has changed. This event will be fired twice. Once when loading is initiated either programmatically or by user action, and once when loading is terminated due to completion, cancellation of failure. It's important to note this event is fired on a CEF UI thread, which by default is not the same as your application UI thread. It is unwise to block on this thread for any length of time as your browser will become unresponsive and/or hang.. To access UI elements you'll need to Invoke/Dispatch onto the UI Thread.
Public eventLocationChangedOccurs when the Location property value has changed.
(Inherited from Control)
Public eventLostFocusOccurs when the control loses focus.
(Inherited from Control)
Public eventMarginChangedOccurs when the control's margin changes.
(Inherited from Control)
Public eventMouseCaptureChangedOccurs when the control loses mouse capture.
(Inherited from Control)
Public eventMouseClickOccurs when the control is clicked by the mouse.
(Inherited from Control)
Public eventMouseDoubleClickOccurs when the control is double clicked by the mouse.
(Inherited from Control)
Public eventMouseDownOccurs when the mouse pointer is over the control and a mouse button is pressed.
(Inherited from Control)
Public eventMouseEnterOccurs when the mouse pointer enters the control.
(Inherited from Control)
Public eventMouseHoverOccurs when the mouse pointer rests on the control.
(Inherited from Control)
Public eventMouseLeaveOccurs when the mouse pointer leaves the control.
(Inherited from Control)
Public eventMouseMoveOccurs when the mouse pointer is moved over the control.
(Inherited from Control)
Public eventMouseUpOccurs when the mouse pointer is over the control and a mouse button is released.
(Inherited from Control)
Public eventMouseWheelOccurs when the mouse wheel moves while the control has focus.
(Inherited from Control)
Public eventMoveOccurs when the control is moved.
(Inherited from Control)
Public eventPaddingChangedOccurs when the control's padding changes.
(Inherited from Control)
Public eventPaintOccurs when the control is redrawn.
(Inherited from Control)
Public eventParentChangedOccurs when the Parent property value changes.
(Inherited from Control)
Public eventPreviewKeyDownOccurs before the KeyDown event when a key is pressed while focus is on this control.
(Inherited from Control)
Public eventQueryAccessibilityHelpOccurs when AccessibleObject is providing help to accessibility applications.
(Inherited from Control)
Public eventQueryContinueDragOccurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled.
(Inherited from Control)
Public eventRegionChangedOccurs when the value of the Region property changes.
(Inherited from Control)
Public eventResizeOccurs when the control is resized.
(Inherited from Control)
Public eventRightToLeftChangedOccurs when the RightToLeft property value changes.
(Inherited from Control)
Public eventSizeChangedOccurs when the Size property value changes.
(Inherited from Control)
Public eventStatusMessage Event handler for changes to the status message. It's important to note this event is fired on a CEF UI thread, which by default is not the same as your application UI thread. It is unwise to block on this thread for any length of time as your browser will become unresponsive and/or hang. To access UI elements you'll need to Invoke/Dispatch onto the UI Thread. (The exception to this is when you're running with settings.MultiThreadedMessageLoop = false, then they'll be the same thread).
Public eventStyleChangedOccurs when the control style changes.
(Inherited from Control)
Public eventSystemColorsChangedOccurs when the system colors change.
(Inherited from Control)
Public eventTabIndexChangedOccurs when the TabIndex property value changes.
(Inherited from Control)
Public eventTabStopChangedOccurs when the TabStop property value changes.
(Inherited from Control)
Public eventTextChangedOccurs when the Text property value changes.
(Inherited from Control)
Public eventTitleChanged Occurs when the browser title changed. It's important to note this event is fired on a CEF UI thread, which by default is not the same as your application UI thread. It is unwise to block on this thread for any length of time as your browser will become unresponsive and/or hang.. To access UI elements you'll need to Invoke/Dispatch onto the UI Thread.
Public eventValidatedOccurs when the control is finished validating.
(Inherited from Control)
Public eventValidatingOccurs when the control is validating.
(Inherited from Control)
Public eventVisibleChangedOccurs when the Visible property value changes.
(Inherited from Control)
Top
See Also