CefSharp.Wpf DelegateCommand The command handler The can execute handler Initializes a new instance of the class. The command handler. The can execute handler. Defines the method to be called when the command is invoked. Data used by the command. If the command does not require data to be passed, this object can be set to null. Defines the method that determines whether the command can execute in its current state. Data used by the command. If the command does not require data to be passed, this object can be set to null. true if this command can be executed; otherwise, false. Raises the can execute changed. Occurs when changes occur that affect whether or not the command should execute. Internal WpfExtension methods - unlikely you'd need to use these, they're left public on the off chance you do. Gets the modifiers. The instance containing the event data. CefEventFlags. Gets the modifiers. The instance containing the event data. CefEventFlags. Gets the drag data wrapper. The instance containing the event data. CefDragDataWrapper. Gets the link. The data. System.String. Reads a URL using a particular text encoding from drag-and-drop data. The drag-and-drop data. The data format name of the URL type. The text encoding of the URL type. A URL, or if does not contain a URL of the correct type. InteropBitmapInfo. WpfBitmapInfo. Invalidates this instance. Creates the bitmap. BitmapSource. The pixel format Initializes a new instance of the class. Clears the bitmap. Invalidates this instance. Creates the bitmap. BitmapSource. Gets the bitmap. The bitmap. Gets a value indicating whether [create new bitmap]. true if [create new bitmap]; otherwise, false. WPF specific implementation, has reference to some of the commands and properties the exposes. Navigates to the previous page in the browser history. Will automatically be enabled/disabled depending on the browser state. The back command. Navigates to the next page in the browser history. Will automatically be enabled/disabled depending on the browser state. The forward command. Reloads the content of the current page. Will automatically be enabled/disabled depending on the browser state. The reload command. Prints the current browser contents. The print command. Increases the zoom level. The zoom in command. Decreases the zoom level. The zoom out command. Resets the zoom level to the default. (100%) The zoom reset command. Opens up a new program window (using the default text editor) where the source code of the currently displayed web page is shown. The view source command. Command which cleans up the Resources used by the ChromiumWebBrowser The cleanup command. Stops loading the current page. The stop command. Cut selected text to the clipboard. The cut command. Copy selected text to the clipboard. The copy command. Paste text from the clipboard. The paste command. Select all text. The select all command. Undo last action. The undo command. Redo last action. The redo command. Gets the associated with this instance. The dispatcher. The zoom level at which the browser control is currently displaying. Can be set to 0 to clear the zoom level (resets to default zoom level). The zoom level. The increment at which the property will be incremented/decremented. The zoom level increment. The title of the web page being currently displayed. The title. This property is implemented as a Dependency Property and fully supports data binding. ChromiumWebBrowser is the WPF web browser control The source The source hook The tooltip timer The tool tip The managed cef browser adapter The ignore URI change The browser created The browser initialized - boolean represented as 0 (false) and 1(true) as we use Interlocker to increment/reset The matrix The image that represents this browser instances The popup image The popup The browser The dispose count A flag that indicates whether or not the designer is active NOTE: Needs to be static for OnApplicationExit Initializes static members of the class. Initializes a new instance of the class. Cef::Initialize() failed Constructor logic has been moved into this method Required for designer support - this method cannot be inlined as the designer will attempt to load libcef.dll and will subsiquently throw an exception. Finalizes an instance of the class. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Releases unmanaged and - optionally - managed resources. true to release both managed and unmanaged resources; false to release only unmanaged resources. Gets the screen information. ScreenInfo. Gets the view rect. ViewRect. Creates the bitmap information. if set to true [is popup]. BitmapInfo. BitmapFactory cannot be null Starts the dragging. The drag data. The mask. The x. The y. true if XXXX, false otherwise. Invokes the render asynchronous. The bitmap information. Sets the popup size and position. The width. The height. The x. The y. Sets the popup is open. if set to true [is open]. Sets the cursor. The handle. The type. Sets the address. The instance containing the event data. Sets the loading state change. The instance containing the event data. Sets the title. The instance containing the event data. Sets the tooltip text. The tooltip text. Handles the event. The instance containing the event data. Handles the event. The instance containing the event data. Handles the event. The instance containing the event data. Handles the event. The instance containing the event data. Handles the event. The instance containing the event data. Called when [after browser created]. The browser. The can go back property The can go forward property The address property Handles the event. The sender. The instance containing the event data. Called when [address changed]. The old value. The new value. The is loading property The is browser initialized property Handles the event. The d. The instance containing the event data. Called when [is browser initialized changed]. if set to true [old value]. if set to true [new value]. The title property Handles the event. The d. The instance containing the event data. The zoom level property Handles the event. The sender. The instance containing the event data. Called when [zoom level changed]. The old value. The new value. The zoom level increment property The cleanup element property Handles the event. The sender. The instance containing the event data. Called when [cleanup element changed]. The old value. The new value. Handles the event. The sender. The instance containing the event data. The tooltip text property Called when [tooltip text changed]. The WebBrowser property Handles the event. The sender. The instance containing the event data. Handles the event. The sender. The instance containing the event data. Handles the event. The sender. The instance containing the event data. Handles the event. The sender. The instance containing the event data. Converts .NET drag drop effects to CEF Drag Operations The drag drop effects. DragOperationsMask. s Gets the drag effects. The mask. DragDropEffects. PresentationSource changed handler. The sender. The instance containing the event data. Removes the source hook. Create the underlying Browser instance, can be overriden to defer control creation The browser will only be created when size > Size(0,0). If you specify a positive size then the browser will be created, if the ActualWidth and ActualHeight properties are in reality still 0 then you'll likely end up with a browser that won't render. size of the current control, must be greater than Size(0, 0) bool to indicate if browser was created. If the browser has already been created then this will return false. Runs the specific Action on the Dispatcher in an async fashion The action. The priority. Runs the specific Action on the Dispatcher in an sync fashion The action. The priority. Handles the event. The sender. The instance containing the event data. Handles the event. The sender. The instance containing the event data. Handles the event. The sender. The instance containing the event data. Required for designer support - this method cannot be inlined as the designer will attempt to load libcef.dll and will subsiquently throw an exception. Handles the event. The sender. The instance containing the event data. When overridden in a derived class, is invoked whenever application code or internal processes call . Creates the image. Image. Creates the popup. Popup. WindowProc callback interceptor. Handles Windows messages intended for the source hWnd, and passes them to the contained browser as needed. The source handle. The message. Additional message info. Even more message info. if set to true, the event has already been handled by someone else. IntPtr. Converts a .NET Drag event to a CefSharp MouseEvent The instance containing the event data. MouseEvent. Sets the popup size and position implementation. The width. The height. The x. The y. Handles the event. The sender. The instance containing the event data. Handles the event. The sender. The instance containing the event data. Updates the tooltip. The text. Handles the event. The sender. The instance containing the event data. Handles the event. The sender. The instance containing the event data. Invoked when an unhandled  attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. The that contains the event data. Invoked when an unhandled  attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. The that contains the event data. Handles the event. The instance containing the event data. Invoked when an unhandled  attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. The that contains the event data. Invoked when an unhandled  attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. The that contains the event data. Captures the mouse when the popup is opened. The sender. The instance containing the event data. Releases mouse capture when the popup is closed. The sender. The instance containing the event data. Invoked when an unhandled  attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. The that contains the event data. This event data reports details about the mouse button that was pressed and the handled state. Invoked when an unhandled  routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. The that contains the event data. The event data reports that the mouse button was released. Invoked when an unhandled  attached event is raised on this element. Implement this method to add class handling for this event. The that contains the event data. Handles the event. The instance containing the event data. Loads the specified URL. The URL to be loaded. Zooms the browser in. Zooms the browser out. Reset the browser's zoom level to default. Registers a Javascript object in this specific browser instance. The name of the object. (e.g. "foo", if you want the object to be accessible as window.foo). The object to be made accessible to Javascript. binding options - camelCaseJavascriptNames default to true Browser is already initialized. RegisterJsObject must be + called before the underlying CEF browser is created. Asynchronously registers a Javascript object in this specific browser instance. Only methods of the object will be availabe. The name of the object. (e.g. "foo", if you want the object to be accessible as window.foo). The object to be made accessible to Javascript. binding options - camelCaseJavascriptNames default to true Browser is already initialized. RegisterJsObject must be + called before the underlying CEF browser is created. The registered methods can only be called in an async way, they will all return immeditaly and the resulting object will be a standard javascript Promise object which is usable to wait for completion or failure. Raises Rendering event The sender. The bitmap information. Returns the current IBrowser Instance browser instance or null Check is browserisinitialized true if browser is initialized Gets or sets the browser settings. The browser settings. Gets or sets the request context. The request context. Implement and assign to handle dialog events. The dialog handler. Implement and assign to handle events related to JavaScript Dialogs. The js dialog handler. Implement and assign to handle events related to key press. The keyboard handler. Implement and assign to handle events related to browser requests. The request handler. Implement and assign to handle events related to downloading files. The download handler. Implement and assign to handle events related to browser load status. The load handler. Implement and assign to handle events related to popups. The life span handler. Implement and assign to handle events related to browser display state. The display handler. Implement and assign to handle events related to the browser context menu The menu handler. Implement and assign to handle events related to the browser component's focus The focus handler. Implement and assign to handle events related to dragging. The drag handler. Implement and control the loading of resources The resource handler factory. Implement and assign to handle requests for permission to use geolocation. The geolocation handler. Gets or sets the bitmap factory. The bitmap factory. Implement and assign to handle messages from the render process. The render process message handler. Implement to handle events related to find results. The find handler. 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 your running with settings.MultiThreadedMessageLoop = false, then they'll be the same thread). 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 your running with settings.MultiThreadedMessageLoop = false, then they'll be the same thread). 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. Whilst this may seem like a logical place to execute js, it's called before the DOM has been loaded, implement as it's called when the underlying V8Context is created (Only called for the main frame at this stage) 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. 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. 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. Raised before each render cycle, and allows you to adjust the bitmap before it's rendered/applied Navigates to the previous page in the browser history. Will automatically be enabled/disabled depending on the browser state. The back command. Navigates to the next page in the browser history. Will automatically be enabled/disabled depending on the browser state. The forward command. Reloads the content of the current page. Will automatically be enabled/disabled depending on the browser state. The reload command. Prints the current browser contents. The print command. Increases the zoom level. The zoom in command. Decreases the zoom level. The zoom out command. Resets the zoom level to the default. (100%) The zoom reset command. Opens up a new program window (using the default text editor) where the source code of the currently displayed web page is shown. The view source command. Command which cleans up the Resources used by the ChromiumWebBrowser The cleanup command. Stops loading the current page. The stop command. Cut selected text to the clipboard. The cut command. Copy selected text to the clipboard. The copy command. Paste text from the clipboard. The paste command. Select all text. The select all command. Undo last action. The undo command. Redo last action. The redo command. A flag that indicates if you can execute javascript in the main frame. Flag is set to true in IRenderProcessMessageHandler.OnContextCreated. and false in IRenderProcessMessageHandler.OnContextReleased Gets the browser adapter. The browser adapter. Gets or sets a value indicating whether this instance has parent. true if this instance has parent; otherwise, false. A flag that indicates whether the state of the control current supports the GoBack action (true) or not (false). true if this instance can go back; otherwise, false. In the WPF control, this property is implemented as a Dependency Property and fully supports data binding. A flag that indicates whether the state of the control currently supports the GoForward action (true) or not (false). true if this instance can go forward; otherwise, false. In the WPF control, this property is implemented as a Dependency Property and fully supports data binding. The address (URL) which the browser control is currently displaying. Will automatically be updated as the user navigates to another page (e.g. by clicking on a link). The address. In the WPF control, this property is implemented as a Dependency Property and fully supports data binding. A flag that indicates whether the control is currently loading one or more web pages (true) or not (false). true if this instance is loading; otherwise, false. In the WPF control, this property is implemented as a Dependency Property and fully supports data binding. A flag that indicates whether the WebBrowser is initialized (true) or not (false). true if this instance is browser initialized; otherwise, false. In the WPF control, this property is implemented as a Dependency Property and fully supports data binding. Event handler that will get called when the browser has finished initializing The title of the web page being currently displayed. The title. This property is implemented as a Dependency Property and fully supports data binding. Event handler that will get called when the browser title changes The zoom level at which the browser control is currently displaying. Can be set to 0 to clear the zoom level (resets to default zoom level). The zoom level. Specifies the amount used to increase/decrease to ZoomLevel by By Default this value is 0.10 The zoom level increment. The CleanupElement Controls when the BrowserResources will be cleaned up. The ChromiumWebBrowser will register on Unloaded of the provided Element and dispose all resources when that handler is called. By default the cleanup element is the Window that contains the ChromiumWebBrowser. if you want cleanup to happen earlier provide another FrameworkElement. Be aware that this Control is not usable anymore after cleanup is done. The cleanup element. The text that will be displayed as a ToolTip The tooltip text. Gets or sets the WebBrowser. The WebBrowser. Gets a value indicating whether this instance is disposed. true if this instance is disposed; otherwise, false. Event arguments to the Rendering event handler set up in IWebBrowser. Initializes a new instance of the class. The bitmap information. The bitmap info being rendered. The bitmap information. BitmapFactory. The default dpi Create an instance of BitmapInfo based on the params create bitmap info for a popup (typically just a bool flag used internally) DPI scale newly created BitmapInfo The WM_KEYDOWN message is posted to the window with the keyboard focus when a nonsystem key is pressed. A nonsystem key is a key that is pressed when the ALT key is not pressed. The WM_KEYUP message is posted to the window with the keyboard focus when a nonsystem key is released. A nonsystem key is a key that is pressed when the ALT key is not pressed, or a keyboard key that is pressed when a window has the keyboard focus. The WM_CHAR message is posted to the window with the keyboard focus when a WM_KEYDOWN message is translated by the TranslateMessage function. The WM_CHAR message contains the character code of the key that was pressed. The WM_SYSKEYDOWN message is posted to the window with the keyboard focus when the user presses the F10 key (which activates the menu bar) or holds down the ALT key and then presses another key. It also occurs when no window currently has the keyboard focus; in this case, the WM_SYSKEYDOWN message is sent to the active window. The window that receives the message can distinguish between these two contexts by checking the context code in the lParam parameter. The WM_SYSKEYUP message is posted to the window with the keyboard focus when the user releases a key that was pressed while the ALT key was held down. It also occurs when no window currently has the keyboard focus; in this case, the WM_SYSKEYUP message is sent to the active window. The window that receives the message can distinguish between these two contexts by checking the context code in the lParam parameter. The WM_SYSCHAR message is posted to the window with the keyboard focus when a WM_SYSKEYDOWN message is translated by the TranslateMessage function. It specifies the character code of a system character key — that is, a character key that is pressed while the ALT key is down. Sent to an application when the IME gets a character of the conversion result. A window receives this message through its WindowProc function. Uses WriteableBitmap to create a bitmap from the backbuffer The pixel format Initializes a new instance of the class. Initializes a new instance of the class. The dpi x. The dpi y. Clears the bitmap. Invalidates this instance. Creates the bitmap. BitmapSource. Gets the bitmap. The bitmap. Gets the dpi x. The dpi x. Gets the dpi y. The dpi y. Gets a value indicating whether [create new bitmap]. true if [create new bitmap]; otherwise, false.