Свойство | Тип | Описание | |
---|---|---|---|
AddressProperty | |||
CanGoBackProperty | |||
CanGoForwardProperty | |||
CleanupElementProperty | |||
IsBrowserInitializedProperty | |||
IsLoadingProperty | |||
TitleProperty | |||
TooltipTextProperty | |||
WebBrowserProperty | |||
ZoomLevelIncrementProperty | |||
ZoomLevelProperty |
Метод | Описание | |
---|---|---|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
GetBrowser ( ) : IBrowser |
Returns the current IBrowser Instance
|
|
Load ( string url ) : void |
Loads the specified URL.
|
|
OnApplyTemplate ( ) : void |
When overridden in a derived class, is invoked whenever application code or internal processes call M:System.Windows.FrameworkElement.ApplyTemplate.
|
|
RegisterAsyncJsObject ( string name, object objectToBind, BindingOptions options = null ) : void |
Asynchronously registers a Javascript object in this specific browser instance. Only methods of the object will be availabe. 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. |
|
RegisterJsObject ( string name, object objectToBind, BindingOptions options = null ) : void |
Registers a Javascript object in this specific browser instance.
|
Метод | Описание | |
---|---|---|
CreateOffscreenBrowser ( |
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.
|
|
Dispose ( bool isDisposing ) : void |
Releases unmanaged and - optionally - managed resources.
|
|
OnAddressChanged ( string oldValue, string newValue ) : void |
Called when [address changed].
|
|
OnCleanupElementChanged ( |
Called when [cleanup element changed].
|
|
OnIsBrowserInitializedChanged ( bool oldValue, bool newValue ) : void |
Called when [is browser initialized changed].
|
|
OnMouseDown ( System.Windows.Input.MouseButtonEventArgs e ) : void |
Invoked when an unhandled E:System.Windows.Input.Mouse.MouseDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
|
|
OnMouseLeave ( System.Windows.Input.MouseEventArgs e ) : void |
Invoked when an unhandled E:System.Windows.Input.Mouse.MouseLeave attached event is raised on this element. Implement this method to add class handling for this event.
|
|
OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void |
Invoked when an unhandled E:System.Windows.Input.Mouse.MouseMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
|
|
OnMouseUp ( System.Windows.Input.MouseButtonEventArgs e ) : void |
Invoked when an unhandled E:System.Windows.Input.Mouse.MouseUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
|
|
OnMouseWheel ( System.Windows.Input.MouseWheelEventArgs e ) : void |
Invoked when an unhandled E:System.Windows.Input.Mouse.MouseWheel attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
|
|
OnPreviewKeyDown ( System.Windows.Input.KeyEventArgs e ) : void |
Invoked when an unhandled E:System.Windows.Input.Keyboard.PreviewKeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
|
|
OnPreviewKeyUp ( System.Windows.Input.KeyEventArgs e ) : void |
Invoked when an unhandled E:System.Windows.Input.Keyboard.PreviewKeyUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
|
|
OnRendering ( object sender, WpfBitmapInfo bitmapInfo ) : void |
Raises Rendering event
|
|
OnZoomLevelChanged ( double oldValue, double newValue ) : void |
Called when [zoom level changed].
|
|
SourceHook ( |
WindowProc callback interceptor. Handles Windows messages intended for the source hWnd, and passes them to the contained browser as needed.
|
Метод | Описание | |
---|---|---|
ChromiumWebBrowser ( ) : System |
Initializes static members of the ChromiumWebBrowser class.
|
|
CreateImage ( ) : Image |
Creates the image.
|
|
CreatePopup ( ) : System.Windows.Controls.Primitives.Popup |
Creates the popup.
|
|
GetDragEffects ( DragOperationsMask mask ) : DragDropEffects |
Gets the drag effects.
|
|
GetDragOperationsMask ( DragDropEffects dragDropEffects ) : DragOperationsMask |
Converts .NET drag drop effects to CEF Drag Operations
|
|
GetMouseEvent ( System.Windows.DragEventArgs e ) : MouseEvent |
Converts a .NET Drag event to a CefSharp MouseEvent
|
|
IRenderWebBrowser ( bool isPopup ) : CefSharp.Internals.BitmapInfo |
Creates the bitmap information.
|
|
IRenderWebBrowser ( ) : CefSharp.Internals.ScreenInfo |
Gets the screen information.
|
|
IRenderWebBrowser ( ) : CefSharp.Internals.ViewRect |
Gets the view rect.
|
|
IRenderWebBrowser ( IDragData dragData, DragOperationsMask mask, int x, int y ) : bool |
Starts the dragging.
|
|
IRenderWebBrowser ( CefSharp.Internals.BitmapInfo bitmapInfo ) : void |
Invokes the render asynchronous.
|
|
IRenderWebBrowser ( DragOperationsMask operation ) : void | ||
IRenderWebBrowser ( |
Sets the cursor.
|
|
IRenderWebBrowser ( Range selectedRange, |
||
IRenderWebBrowser ( bool isOpen ) : void |
Sets the popup is open.
|
|
IRenderWebBrowser ( int width, int height, int x, int y ) : void |
Sets the popup size and position.
|
|
IWebBrowserInternal ( AddressChangedEventArgs args ) : void |
Sets the address.
|
|
IWebBrowserInternal ( ConsoleMessageEventArgs args ) : void |
Handles the E:ConsoleMessage event.
|
|
IWebBrowserInternal ( FrameLoadEndEventArgs args ) : void |
Handles the E:FrameLoadEnd event.
|
|
IWebBrowserInternal ( FrameLoadStartEventArgs args ) : void |
Handles the E:FrameLoadStart event.
|
|
IWebBrowserInternal ( IBrowser browser ) : void |
Called when [after browser created].
|
|
IWebBrowserInternal ( LoadErrorEventArgs args ) : void |
Handles the E:LoadError event.
|
|
IWebBrowserInternal ( LoadingStateChangedEventArgs args ) : void |
Sets the loading state change.
|
|
IWebBrowserInternal ( StatusMessageEventArgs args ) : void |
Handles the E:StatusMessage event.
|
|
IWebBrowserInternal ( TitleChangedEventArgs args ) : void |
Sets the title.
|
|
IWebBrowserInternal ( string tooltipText ) : void |
Sets the tooltip text.
|
|
OnActualSizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void |
Handles the E:ActualSizeChanged event.
|
|
OnAddressChanged ( |
Handles the E:AddressChanged event.
|
|
OnApplicationExit ( object sender, System.Windows.ExitEventArgs e ) : void |
Handles the E:ApplicationExit event.
|
|
OnCleanupElementChanged ( |
Handles the E:CleanupElementChanged event.
|
|
OnCleanupElementUnloaded ( object sender, |
Handles the E:CleanupElementUnloaded event.
|
|
OnDragEnter ( object sender, System.Windows.DragEventArgs e ) : void |
Handles the E:DragEnter event.
|
|
OnDragLeave ( object sender, System.Windows.DragEventArgs e ) : void |
Handles the E:DragLeave event.
|
|
OnDragOver ( object sender, System.Windows.DragEventArgs e ) : void |
Handles the E:DragOver event.
|
|
OnDrop ( object sender, System.Windows.DragEventArgs e ) : void |
Handles the E:Drop event.
|
|
OnGotKeyboardFocus ( object sender, System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void |
Handles the E:GotKeyboardFocus event.
|
|
OnIsBrowserInitializedChanged ( |
Handles the E:IsBrowserInitializedChanged event.
|
|
OnIsVisibleChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs args ) : void |
Handles the E:IsVisibleChanged event.
|
|
OnLoaded ( object sender, |
Handles the E:Loaded event.
|
|
OnLostKeyboardFocus ( object sender, System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void |
Handles the E:LostKeyboardFocus event.
|
|
OnMouseButton ( System.Windows.Input.MouseButtonEventArgs e ) : void |
Handles the E:MouseButton event.
|
|
OnPreviewKey ( System.Windows.Input.KeyEventArgs e ) : void |
Handles the E:PreviewKey event.
|
|
OnTitleChanged ( |
Handles the E:TitleChanged event.
|
|
OnTooltipClosed ( object sender, |
Handles the E:TooltipClosed event.
|
|
OnTooltipTextChanged ( ) : void |
Called when [tooltip text changed].
|
|
OnTooltipTimerTick ( object sender, |
Handles the E:TooltipTimerTick event.
|
|
OnZoomLevelChanged ( |
Handles the E:ZoomLevelChanged event.
|
|
PopupMouseEnter ( object sender, System.Windows.Input.MouseEventArgs e ) : void |
Handle the mouse cursor entering the pop-up.
|
|
PopupMouseLeave ( object sender, System.Windows.Input.MouseEventArgs e ) : void |
Handle the mouse cursor exiting the pop-up.
|
|
PresentationSourceChangedHandler ( object sender, System.Windows.SourceChangedEventArgs args ) : void |
PresentationSource changed handler.
|
|
RemoveSourceHook ( ) : void |
Removes the source hook.
|
|
SetPopupSizeAndPositionImpl ( int width, int height, int x, int y ) : void |
Sets the popup size and position implementation.
|
|
UiThreadRunAsync ( System.Action action, DispatcherPriority priority = DispatcherPriority.DataBind ) : void |
Runs the specific Action on the Dispatcher in an async fashion
|
|
UiThreadRunSync ( System.Action action, DispatcherPriority priority = DispatcherPriority.DataBind ) : void |
Runs the specific Action on the Dispatcher in an sync fashion
|
|
UpdateTooltip ( string text ) : void |
Updates the tooltip.
|
|
ZoomIn ( ) : void |
Zooms the browser in.
|
|
ZoomOut ( ) : void |
Zooms the browser out.
|
|
ZoomReset ( ) : void |
Reset the browser's zoom level to default.
|
protected CreateOffscreenBrowser ( |
||
size | size of the current control, must be greater than Size(0, 0) | |
Результат | bool |
protected Dispose ( bool isDisposing ) : void | ||
isDisposing | bool | |
Результат | void |
public Load ( string url ) : void | ||
url | string | The URL to be loaded. |
Результат | void |
protected OnAddressChanged ( string oldValue, string newValue ) : void | ||
oldValue | string | The old value. |
newValue | string | The new value. |
Результат | void |
protected OnCleanupElementChanged ( |
||
oldValue | The old value. | |
newValue | The new value. | |
Результат | void |
protected OnIsBrowserInitializedChanged ( bool oldValue, bool newValue ) : void | ||
oldValue | bool | if set to |
newValue | bool | if set to |
Результат | void |
protected OnMouseDown ( System.Windows.Input.MouseButtonEventArgs e ) : void | ||
e | System.Windows.Input.MouseButtonEventArgs | The |
Результат | void |
protected OnMouseLeave ( System.Windows.Input.MouseEventArgs e ) : void | ||
e | System.Windows.Input.MouseEventArgs | The |
Результат | void |
protected OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void | ||
e | System.Windows.Input.MouseEventArgs | The |
Результат | void |
protected OnMouseUp ( System.Windows.Input.MouseButtonEventArgs e ) : void | ||
e | System.Windows.Input.MouseButtonEventArgs | The |
Результат | void |
protected OnMouseWheel ( System.Windows.Input.MouseWheelEventArgs e ) : void | ||
e | System.Windows.Input.MouseWheelEventArgs | The |
Результат | void |
protected OnPreviewKeyDown ( System.Windows.Input.KeyEventArgs e ) : void | ||
e | System.Windows.Input.KeyEventArgs | The |
Результат | void |
protected OnPreviewKeyUp ( System.Windows.Input.KeyEventArgs e ) : void | ||
e | System.Windows.Input.KeyEventArgs | The |
Результат | void |
protected OnRendering ( object sender, WpfBitmapInfo bitmapInfo ) : void | ||
sender | object | The sender. |
bitmapInfo | WpfBitmapInfo | The bitmap information. |
Результат | void |
protected OnZoomLevelChanged ( double oldValue, double newValue ) : void | ||
oldValue | double | The old value. |
newValue | double | The new value. |
Результат | void |
public RegisterAsyncJsObject ( string name, object objectToBind, BindingOptions options = null ) : void | ||
name | string | The name of the object. (e.g. "foo", if you want the object to be accessible as window.foo). |
objectToBind | object | The object to be made accessible to Javascript. |
options | BindingOptions | binding options - camelCaseJavascriptNames default to true |
Результат | void |
public RegisterJsObject ( string name, object objectToBind, BindingOptions options = null ) : void | ||
name | string | The name of the object. (e.g. "foo", if you want the object to be accessible as window.foo). |
objectToBind | object | The object to be made accessible to Javascript. |
options | BindingOptions | binding options - camelCaseJavascriptNames default to true |
Результат | void |
protected SourceHook ( |
||
hWnd | The source handle. | |
message | int | The message. |
wParam | Additional message info. | |
lParam | Even more message info. | |
handled | bool | if set to |
Результат |
public static DependencyProperty,System.Windows AddressProperty | ||
Результат |
public static DependencyProperty,System.Windows CanGoBackProperty | ||
Результат |
public static DependencyProperty,System.Windows CanGoForwardProperty | ||
Результат |
public static DependencyProperty,System.Windows CleanupElementProperty | ||
Результат |
public static DependencyProperty,System.Windows IsBrowserInitializedProperty | ||
Результат |
public static DependencyProperty,System.Windows IsLoadingProperty | ||
Результат |
public static DependencyProperty,System.Windows TitleProperty | ||
Результат |
public static DependencyProperty,System.Windows TooltipTextProperty | ||
Результат |
public static DependencyProperty,System.Windows WebBrowserProperty | ||
Результат |
public static DependencyProperty,System.Windows ZoomLevelIncrementProperty | ||
Результат |