Click or drag to resize

ChromiumWebBrowser Properties

Version 130.1.90

The ChromiumWebBrowser type exposes the following members.

Properties
 NameDescription
Public propertyAccessibilityHandler Implement IAccessibilityHandler to handle events related to accessibility.
Public propertyActualHeightGets the rendered height of this element.
(Inherited from FrameworkElement)
Public propertyActualWidthGets the rendered width of this element.
(Inherited from FrameworkElement)
Public propertyAddress 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).
Public propertyAllowDropGets or sets a value indicating whether this element can be used as the target of a drag-and-drop operation. This is a dependency property.
(Inherited from UIElement)
Public propertyAreAnyTouchesCapturedGets a value that indicates whether at least one touch is captured to this element.
(Inherited from UIElement)
Public propertyAreAnyTouchesCapturedWithinGets a value that indicates whether at least one touch is captured to this element or to any child elements in its visual tree.
(Inherited from UIElement)
Public propertyAreAnyTouchesDirectlyOverGets a value that indicates whether at least one touch is pressed over this element.
(Inherited from UIElement)
Public propertyAreAnyTouchesOverGets a value that indicates whether at least one touch is pressed over this element or any child elements in its visual tree.
(Inherited from UIElement)
Public propertyAudioHandler Implement IAudioHandler to handle audio events.
Public propertyBackCommand Navigates to the previous page in the browser history. Will automatically be enabled/disabled depending on the browser state.
Public propertyBackgroundGets or sets a brush that describes the background of a control.
(Inherited from Control)
Public propertyBindingGroupGets or sets the BindingGroup that is used for the element.
(Inherited from FrameworkElement)
Public propertyBitmapEffectObsolete.
Gets or sets a bitmap effect that applies directly to the rendered content for this element. This is a dependency property.
(Inherited from UIElement)
Public propertyBitmapEffectInputObsolete.
Gets or sets an input source for the bitmap effect that applies directly to the rendered content for this element. This is a dependency property.
(Inherited from UIElement)
Public propertyBorderBrushGets or sets a brush that describes the border background of a control.
(Inherited from Control)
Public propertyBorderThicknessGets or sets the border thickness of a control.
(Inherited from Control)
Public propertyBrowserCore Get access to the core IBrowser instance. Maybe null if the underlying CEF Browser has not yet been created or if this control has been disposed. Check IsDisposed before accessing.
Public propertyBrowserSettings Gets or sets the browser settings.
Public propertyCacheModeGets or sets a cached representation of the UIElement.
(Inherited from UIElement)
Public propertyCanExecuteJavascriptInMainFrame 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
Public propertyCanGoBack A flag that indicates whether the state of the control current supports the GoBack action (true) or not (false).
Public propertyCanGoForward A flag that indicates whether the state of the control currently supports the GoForward action (true) or not (false).
Public propertyCleanupCommand Command which cleans up the Resources used by the ChromiumWebBrowser
Public propertyCleanupElement 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.
Public propertyClipGets or sets the geometry used to define the outline of the contents of an element. This is a dependency property.
(Inherited from UIElement)
Public propertyClipToBoundsGets or sets a value indicating whether to clip the content of this element (or content coming from the child elements of this element) to fit into the size of the containing element. This is a dependency property.
(Inherited from UIElement)
Public propertyCommandBindingsGets a collection of CommandBinding objects associated with this element. A CommandBinding enables command handling for this element, and declares the linkage between a command, its events, and the handlers attached by this element.
(Inherited from UIElement)
Public propertyContextMenu Gets or sets the context menu element that should appear whenever the context menu is requested through user interface (UI) from within this element.
(Inherited from FrameworkElement)
Public propertyCopyCommand Copy selected text to the clipboard.
Public propertyCursorGets or sets the cursor that displays when the mouse pointer is over this element.
(Inherited from FrameworkElement)
Public propertyCutCommand Cut selected text to the clipboard.
Public propertyDataContext Gets or sets the data context for an element when it participates in data binding.
(Inherited from FrameworkElement)
Protected propertyDefaultStyleKeyGets or sets the key to use to reference the style for this control, when theme styles are used or defined.
(Inherited from FrameworkElement)
Public propertyDependencyObjectTypeGets the DependencyObjectType that wraps the CLR type of this instance. 
(Inherited from DependencyObject)
Public propertyDesiredSizeGets the size that this element computed during the measure pass of the layout process.
(Inherited from UIElement)
Public propertyDialogHandler Implement IDialogHandler and assign to handle dialog events.
Public propertyDispatcherGets the Dispatcher this DispatcherObject is associated with.
(Inherited from DispatcherObject)
Public propertyDisplayHandler Implement IDisplayHandler and assign to handle events related to browser display state.
Public propertyDownloadHandler Implement IDownloadHandler and assign to handle events related to downloading files.
Public propertyDpiScaleFactor The dpi scale factor, if the browser has already been initialized you must manually call IBrowserHost.NotifyScreenInfoChanged for the browser to be notified of the change.
Public propertyDragHandler Implement IDragHandler and assign to handle events related to dragging.
Public propertyEffectGets or sets the bitmap effect to apply to the UIElement. This is a dependency property.
(Inherited from UIElement)
Public propertyFindHandler Implement IFindHandler to handle events related to find results.
Public propertyFlowDirectionGets or sets the direction that text and other user interface (UI) elements flow within any parent element that controls their layout.
(Inherited from FrameworkElement)
Public propertyFocusableGets or sets a value that indicates whether the element can receive focus. This is a dependency property.
(Inherited from UIElement)
Public propertyFocusHandler The IFocusHandler for this ChromiumWebBrowser.
Public propertyFocusVisualStyleGets or sets a property that enables customization of appearance, effects, or other style characteristics that will apply to this element when it captures keyboard focus.
(Inherited from FrameworkElement)
Public propertyFontFamilyGets or sets the font family of the control.
(Inherited from Control)
Public propertyFontSizeGets or sets the font size.
(Inherited from Control)
Public propertyFontStretchGets or sets the degree to which a font is condensed or expanded on the screen.
(Inherited from Control)
Public propertyFontStyleGets or sets the font style.
(Inherited from Control)
Public propertyFontWeightGets or sets the weight or thickness of the specified font.
(Inherited from Control)
Public propertyForceCursorGets or sets a value that indicates whether this FrameworkElement should force the user interface (UI) to render the cursor as declared by the Cursor property.
(Inherited from FrameworkElement)
Public propertyForegroundGets or sets a brush that describes the foreground color.
(Inherited from Control)
Public propertyForwardCommand Navigates to the next page in the browser history. Will automatically be enabled/disabled depending on the browser state.
Public propertyFrameHandler Implement IFrameHandler to handle frame events.
Protected propertyHandlesScrollingGets a value that indicates whether a control supports scrolling.
(Inherited from Control)
Public propertyHasAnimatedPropertiesGets a value indicating whether this element has any animated properties.
(Inherited from UIElement)
Protected propertyHasEffectiveKeyboardFocusGets a value that indicates whether the UIElement has focus.
(Inherited from UIElement)
Public propertyHeight Gets or sets the suggested height of the element.
(Inherited from FrameworkElement)
Public propertyHorizontalAlignmentGets or sets the horizontal alignment characteristics applied to this element when it is composed within a parent element, such as a panel or items control.
(Inherited from FrameworkElement)
Public propertyHorizontalContentAlignmentGets or sets the horizontal alignment of the control's content.
(Inherited from Control)
Protected propertyInheritanceBehaviorGets or sets the scope limits for property value inheritance, resource key lookup, and RelativeSource FindAncestor lookup.
(Inherited from FrameworkElement)
Public propertyInputBindings Gets the collection of input bindings associated with this element.
(Inherited from UIElement)
Public propertyInputScopeGets or sets the context for input used by this FrameworkElement.
(Inherited from FrameworkElement)
Public propertyIsArrangeValidGets a value indicating whether the computed size and position of child elements in this element's layout are valid.
(Inherited from UIElement)
Public propertyIsBrowserInitialized A flag that indicates whether the WebBrowser is initialized (true) or not (false).
Public propertyIsDisposed Gets a value indicating whether this instance is disposed.
Public propertyIsEnabledGets or sets a value indicating whether this element is enabled in the user interface (UI). This is a dependency property.
(Inherited from UIElement)
Protected propertyIsEnabledCoreGets a value that becomes the return value of IsEnabled in derived classes.
(Inherited from UIElement)
Public propertyIsFocusedGets a value that determines whether this element has logical focus. This is a dependency property.
(Inherited from UIElement)
Public propertyIsHitTestVisibleGets or sets a value that declares whether this element can possibly be returned as a hit test result from some portion of its rendered content. This is a dependency property.
(Inherited from UIElement)
Public propertyIsInitializedGets a value that indicates whether this element has been initialized, either during processing by a XAML processor, or by explicitly having its EndInit method called.
(Inherited from FrameworkElement)
Public propertyIsInputMethodEnabledGets a value indicating whether an input method system, such as an Input Method Editor (IME), is enabled for processing the input to this element.
(Inherited from UIElement)
Public propertyIsKeyboardFocusedGets a value indicating whether this element has keyboard focus. This is a dependency property.
(Inherited from UIElement)
Public propertyIsKeyboardFocusWithinGets a value indicating whether keyboard focus is anywhere within the element or its visual tree child elements. This is a dependency property.
(Inherited from UIElement)
Public propertyIsLoadedGets a value that indicates whether this element has been loaded for presentation.
(Inherited from FrameworkElement)
Public propertyIsLoading A flag that indicates whether the control is currently loading one or more web pages (true) or not (false).
Public propertyIsManipulationEnabledGets or sets a value that indicates whether manipulation events are enabled on this UIElement.
(Inherited from UIElement)
Public propertyIsMeasureValidGets a value indicating whether the current size returned by layout measure is valid.
(Inherited from UIElement)
Public propertyIsMouseCapturedGets a value indicating whether the mouse is captured to this element. This is a dependency property.
(Inherited from UIElement)
Public propertyIsMouseCaptureWithinGets a value that determines whether mouse capture is held by this element or by child elements in its visual tree. This is a dependency property.
(Inherited from UIElement)
Public propertyIsMouseDirectlyOverGets a value that indicates whether the position of the mouse pointer corresponds to hit test results, which take element compositing into account. This is a dependency property.
(Inherited from UIElement)
Public propertyIsMouseOverGets a value indicating whether the mouse pointer is located over this element (including child elements in the visual tree). This is a dependency property.
(Inherited from UIElement)
Public propertyIsSealedGets a value that indicates whether this instance is currently sealed (read-only).
(Inherited from DependencyObject)
Public propertyIsStylusCapturedGets a value indicating whether the stylus is captured by this element. This is a dependency property.
(Inherited from UIElement)
Public propertyIsStylusCaptureWithinGets a value that determines whether stylus capture is held by this element, or an element within the element bounds and its visual tree. This is a dependency property.
(Inherited from UIElement)
Public propertyIsStylusDirectlyOverGets a value that indicates whether the stylus position corresponds to hit test results, which take element compositing into account. This is a dependency property.
(Inherited from UIElement)
Public propertyIsStylusOver Gets a value indicating whether the stylus cursor is located over this element (including visual child elements). This is a dependency property.
(Inherited from UIElement)
Public propertyIsTabStopGets or sets a value that indicates whether a control is included in tab navigation.
(Inherited from Control)
Public propertyIsVisibleGets a value indicating whether this element is visible in the user interface (UI). This is a dependency property.
(Inherited from UIElement)
Public propertyJavascriptObjectRepository The javascript object repository, one repository per ChromiumWebBrowser instance.
Public propertyJsDialogHandler Implement IJsDialogHandler and assign to handle events related to JavaScript Dialogs.
Public propertyKeyboardHandler Implement IKeyboardHandler and assign to handle events related to key press.
Public propertyLanguageGets or sets localization/globalization language information that applies to an element.
(Inherited from FrameworkElement)
Public propertyLayoutTransform Gets or sets a graphics transformation that should apply to this element when layout is performed.
(Inherited from FrameworkElement)
Public propertyLifeSpanHandler Implement ILifeSpanHandler and assign to handle events related to popups.
Public propertyLoadHandler Implement ILoadHandler and assign to handle events related to browser load status.
Protected propertyLogicalChildren Gets an enumerator for logical child elements of this element.
(Inherited from FrameworkElement)
Public propertyMarginGets or sets the outer margin of an element.
(Inherited from FrameworkElement)
Public propertyMaxHeightGets or sets the maximum height constraint of the element.
(Inherited from FrameworkElement)
Public propertyMaxWidthGets or sets the maximum width constraint of the element.
(Inherited from FrameworkElement)
Public propertyMenuHandler Implement IContextMenuHandler and assign to handle events related to the browser context menu
Public propertyMinHeightGets or sets the minimum height constraint of the element.
(Inherited from FrameworkElement)
Public propertyMinWidth Gets or sets the minimum width constraint of the element.
(Inherited from FrameworkElement)
Public propertyNameGets or sets the identifying name of the element. The name provides a reference so that code-behind, such as event handler code, can refer to a markup element after it is constructed during processing by a XAML processor.
(Inherited from FrameworkElement)
Public propertyOpacityGets or sets the opacity factor applied to the entire UIElement when it is rendered in the user interface (UI). This is a dependency property.
(Inherited from UIElement)
Public propertyOpacityMaskGets or sets an opacity mask, as a Brush implementation that is applied to any alpha-channel masking for the rendered content of this element. This is a dependency property.
(Inherited from UIElement)
Public propertyOverridesDefaultStyleGets or sets a value that indicates whether this element incorporates style properties from theme styles.
(Inherited from FrameworkElement)
Public propertyPaddingGets or sets the padding inside a control.
(Inherited from Control)
Public propertyParentGets the logical parent element of this element.
(Inherited from FrameworkElement)
Public propertyPasteCommand Paste text from the clipboard.
Public propertyPermissionHandler Implement IPermissionHandler to handle events related to permission requests.
Public propertyPersistIdObsolete.
Gets a value that uniquely identifies this element.
(Inherited from UIElement)
Public propertyPrintCommand Prints the current browser contents.
Public propertyRedoCommand Redo last action.
Public propertyReloadCommand Reloads the content of the current page. Will automatically be enabled/disabled depending on the browser state.
Public propertyRenderHandler Implement IRenderHandler and control how the control is rendered
Public propertyRenderProcessMessageHandler Implement IRenderProcessMessageHandler and assign to handle messages from the render process.
Public propertyRenderSizeGets (or sets, but see Remarks) the final render size of this element.
(Inherited from UIElement)
Public propertyRenderTransformGets or sets transform information that affects the rendering position of this element. This is a dependency property.
(Inherited from UIElement)
Public propertyRenderTransformOriginGets or sets the center point of any possible render transform declared by RenderTransform, relative to the bounds of the element. This is a dependency property.
(Inherited from UIElement)
Public propertyRequestContext Gets or sets the request context.
Public propertyRequestHandler Implement IRequestHandler and assign to handle events related to browser requests.
Public propertyResizeHackDelayInMs Number of milliseconds to wait after resizing the browser when it first becomes visible. After the delay the browser will revert to it's original size. Hack to workaround upstream issue https://github.com/chromiumembedded/cef/issues/3427
Public propertyResizeHackEnabled When enabled the browser will resize by 1px when it becomes visible to workaround the upstream issue Hack to work around upstream issue https://github.com/chromiumembedded/cef/issues/3427 Disabled by default
Public propertyResourceRequestHandlerFactory Implement IResourceRequestHandlerFactory and control the loading of resources
Public propertyResources Gets or sets the locally-defined resource dictionary.
(Inherited from FrameworkElement)
Public propertySelectAllCommand Select all text.
Public propertySnapsToDevicePixelsGets or sets a value that determines whether rendering for this element should use device-specific pixel settings during rendering. This is a dependency property.
(Inherited from UIElement)
Public propertyStopCommand Stops loading the current page.
Public propertyStyleGets or sets the style used by this element when it is rendered.
(Inherited from FrameworkElement)
Protected propertyStylusPlugInsGets a collection of all stylus plug-in (customization) objects associated with this element.
(Inherited from UIElement)
Public propertyTabIndexGets or sets a value that determines the order in which elements receive focus when the user navigates through controls by using the TAB key.
(Inherited from Control)
Public propertyTagGets or sets an arbitrary object value that can be used to store custom information about this element.
(Inherited from FrameworkElement)
Public propertyTemplateGets or sets a control template.
(Inherited from Control)
Public propertyTemplatedParentGets a reference to the template parent of this element. This property is not relevant if the element was not created through a template.
(Inherited from FrameworkElement)
Public propertyTitle The title of the web page being currently displayed.
Public propertyToggleAudioMuteCommand Toggles the audio mute for the current browser.
Public propertyToolTip Gets or sets the tool-tip object that is displayed for this element in the user interface (UI).
(Inherited from FrameworkElement)
Public propertyTooltipText The text that will be displayed as a ToolTip
Public propertyTouchesCapturedGets all touch devices that are captured to this element.
(Inherited from UIElement)
Public propertyTouchesCapturedWithinGets all touch devices that are captured to this element or any child elements in its visual tree.
(Inherited from UIElement)
Public propertyTouchesDirectlyOverGets all touch devices that are over this element.
(Inherited from UIElement)
Public propertyTouchesOverGets all touch devices that are over this element or any child elements in its visual tree.
(Inherited from UIElement)
Public propertyTriggersGets the collection of triggers established directly on this element, or in child elements.
(Inherited from FrameworkElement)
Public propertyUidGets or sets the unique identifier (for localization) for this element. This is a dependency property.
(Inherited from UIElement)
Public propertyUndoCommand Undo last action.
Public propertyUseLayoutRoundingGets or sets a value that indicates whether layout rounding should be applied to this element's size and position during layout.
(Inherited from FrameworkElement)
Public propertyVerticalAlignmentGets or sets the vertical alignment characteristics applied to this element when it is composed within a parent element such as a panel or items control.
(Inherited from FrameworkElement)
Public propertyVerticalContentAlignmentGets or sets the vertical alignment of the control's content.
(Inherited from Control)
Public propertyViewSourceCommand Opens up a new program window (using the default text editor) where the source code of the currently displayed web page is shown.
Public propertyVisibilityGets or sets the user interface (UI) visibility of this element. This is a dependency property.
(Inherited from UIElement)
Protected propertyVisualBitmapEffectObsolete.
Gets or sets the BitmapEffect value for the Visual.
(Inherited from Visual)
Protected propertyVisualBitmapEffectInputObsolete.
Gets or sets the BitmapEffectInput value for the Visual.
(Inherited from Visual)
Protected propertyVisualBitmapScalingModeGets or sets the BitmapScalingMode for the Visual.
(Inherited from Visual)
Protected propertyVisualCacheModeGets or sets a cached representation of the Visual.
(Inherited from Visual)
Protected propertyVisualChildrenCountGets the number of visual child elements within this element.
(Inherited from FrameworkElement)
Protected propertyVisualClearTypeHintGets or sets the ClearTypeHint that determines how ClearType is rendered in the Visual.
(Inherited from Visual)
Protected propertyVisualClipGets or sets the clip region of the Visual as a Geometry value.
(Inherited from Visual)
Protected propertyVisualEdgeModeGets or sets the edge mode of the Visual as an EdgeMode value.
(Inherited from Visual)
Protected propertyVisualEffectGets or sets the bitmap effect to apply to the Visual.
(Inherited from Visual)
Protected propertyVisualOffsetGets or sets the offset value of the visual object.
(Inherited from Visual)
Protected propertyVisualOpacityGets or sets the opacity of the Visual.
(Inherited from Visual)
Protected propertyVisualOpacityMaskGets or sets the Brush value that represents the opacity mask of the Visual.
(Inherited from Visual)
Protected propertyVisualParentGets the visual tree parent of the visual object.
(Inherited from Visual)
Protected propertyVisualScrollableAreaClipGets or sets a clipped scrollable area for the Visual.
(Inherited from Visual)
Protected propertyVisualTextHintingModeGets or sets the TextHintingMode of the Visual.
(Inherited from Visual)
Protected propertyVisualTextRenderingModeGets or sets the TextRenderingMode of the Visual.
(Inherited from Visual)
Protected propertyVisualTransformGets or sets the Transform value for the Visual.
(Inherited from Visual)
Protected propertyVisualXSnappingGuidelinesGets or sets the x-coordinate (vertical) guideline collection.
(Inherited from Visual)
Protected propertyVisualYSnappingGuidelinesGets or sets the y-coordinate (horizontal) guideline collection.
(Inherited from Visual)
Public propertyWebBrowser Gets or sets the WebBrowser.
Public propertyWidth Gets or sets the width of the element.
(Inherited from FrameworkElement)
Public propertyWpfKeyboardHandler WPF Keyboard Handled forwards key events to the underlying browser
Public propertyZoomInCommand Increases the zoom level.
Public propertyZoomLevel 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). NOTE: For browsers that share the same render process (same origin) this property is only updated when the browser changes its visible state. If you have two browsers visible at the same time that share the same render process then zooming one will not update this property in the other (unless the control is hidden and then shown). You can isolate browser instances using a RequestContext, they will then have their own render process regardless of the process policy. You can manually get the Zoom level using GetZoomLevelAsync
Public propertyZoomLevelIncrement Specifies the amount used to increase/decrease to ZoomLevel by By Default this value is 0.10
Public propertyZoomOutCommand Decreases the zoom level.
Public propertyZoomResetCommand Resets the zoom level to the default. (100%)
Top
See Also