Click or drag to resize

ChromiumWebBrowser Properties

Version 87.1.132

The ChromiumWebBrowser type exposes the following members.

Properties
  NameDescription
Public propertyAccessibilityHandler
Implement IAccessibilityHandler to handle events related to accessibility.
Public propertyActualHeight
Gets the rendered height of this element.
(Inherited from FrameworkElement.)
Public propertyActualWidth
Gets 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 propertyAllowDrop
Gets 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 propertyAreAnyTouchesCaptured
Gets a value that indicates whether at least one touch is captured to this element.
(Inherited from UIElement.)
Public propertyAreAnyTouchesCapturedWithin
Gets 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 propertyAreAnyTouchesDirectlyOver
Gets a value that indicates whether at least one touch is pressed over this element.
(Inherited from UIElement.)
Public propertyAreAnyTouchesOver
Gets 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 propertyBackground
Gets or sets a brush that describes the background of a control.
(Inherited from Control.)
Public propertyBindingGroup
Gets or sets the BindingGroup that is used for the element.
(Inherited from FrameworkElement.)
Public propertyBitmapEffect Obsolete.
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 propertyBitmapEffectInput Obsolete.
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 propertyBorderBrush
Gets or sets a brush that describes the border background of a control.
(Inherited from Control.)
Public propertyBorderThickness
Gets or sets the border thickness of a control.
(Inherited from Control.)
Public propertyBrowserSettings
Gets or sets the browser settings.
Public propertyCacheMode
Gets 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 propertyClip
Gets or sets the geometry used to define the outline of the contents of an element. This is a dependency property.
(Inherited from UIElement.)
Public propertyClipToBounds
Gets 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 propertyCommandBindings
Gets 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 propertyCursor
Gets 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 propertyDefaultStyleKey
Gets or sets the key to use to reference the style for this control, when theme styles are used or defined.
(Inherited from FrameworkElement.)
Public propertyDependencyObjectType
Gets the DependencyObjectType that wraps the CLR type of this instance. 
(Inherited from DependencyObject.)
Public propertyDesiredSize
Gets 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 propertyDispatcher
Gets 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 propertyEffect
Gets or sets the bitmap effect to apply to the UIElement. This is a dependency property.
(Inherited from UIElement.)
Public propertyEnableResizeHackForIssue2779
Hack to work around issue https://github.com/cefsharp/CefSharp/issues/2779 Enabled by default
Public propertyFindHandler
Implement IFindHandler to handle events related to find results.
Public propertyFlowDirection
Gets 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 propertyFocusable
Gets 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 propertyFocusVisualStyle
Gets 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 propertyFontFamily
Gets or sets the font family of the control.
(Inherited from Control.)
Public propertyFontSize
Gets or sets the font size.
(Inherited from Control.)
Public propertyFontStretch
Gets or sets the degree to which a font is condensed or expanded on the screen.
(Inherited from Control.)
Public propertyFontStyle
Gets or sets the font style.
(Inherited from Control.)
Public propertyFontWeight
Gets or sets the weight or thickness of the specified font.
(Inherited from Control.)
Public propertyForceCursor
Gets 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 propertyForeground
Gets 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.
Protected propertyHandlesScrolling
Gets a value that indicates whether a control supports scrolling.
(Inherited from Control.)
Public propertyHasAnimatedProperties
Gets a value indicating whether this element has any animated properties.
(Inherited from UIElement.)
Protected propertyHasEffectiveKeyboardFocus
Gets 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 propertyHorizontalAlignment
Gets 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 propertyHorizontalContentAlignment
Gets or sets the horizontal alignment of the control's content.
(Inherited from Control.)
Protected propertyInheritanceBehavior
Gets 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 propertyInputScope
Gets or sets the context for input used by this FrameworkElement.
(Inherited from FrameworkElement.)
Public propertyIsArrangeValid
Gets 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 propertyIsEnabled
Gets or sets a value indicating whether this element is enabled in the user interface (UI). This is a dependency property.
(Inherited from UIElement.)
Protected propertyIsEnabledCore
Gets a value that becomes the return value of IsEnabled in derived classes.
(Inherited from UIElement.)
Public propertyIsFocused
Gets a value that determines whether this element has logical focus. This is a dependency property.
(Inherited from UIElement.)
Public propertyIsHitTestVisible
Gets 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 propertyIsInitialized
Gets 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 propertyIsInputMethodEnabled
Gets 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 propertyIsKeyboardFocused
Gets a value indicating whether this element has keyboard focus. This is a dependency property.
(Inherited from UIElement.)
Public propertyIsKeyboardFocusWithin
Gets 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 propertyIsLoaded
Gets 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 propertyIsManipulationEnabled
Gets or sets a value that indicates whether manipulation events are enabled on this UIElement.
(Inherited from UIElement.)
Public propertyIsMeasureValid
Gets a value indicating whether the current size returned by layout measure is valid.
(Inherited from UIElement.)
Public propertyIsMouseCaptured
Gets a value indicating whether the mouse is captured to this element. This is a dependency property.
(Inherited from UIElement.)
Public propertyIsMouseCaptureWithin
Gets 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 propertyIsMouseDirectlyOver
Gets 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 propertyIsMouseOver
Gets 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 propertyIsSealed
Gets a value that indicates whether this instance is currently sealed (read-only).
(Inherited from DependencyObject.)
Public propertyIsStylusCaptured
Gets a value indicating whether the stylus is captured by this element. This is a dependency property.
(Inherited from UIElement.)
Public propertyIsStylusCaptureWithin
Gets 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 propertyIsStylusDirectlyOver
Gets 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 propertyIsTabStop
Gets or sets a value that indicates whether a control is included in tab navigation.
(Inherited from Control.)
Public propertyIsVisible
Gets 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 propertyLanguage
Gets 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 propertyMargin
Gets or sets the outer margin of an element.
(Inherited from FrameworkElement.)
Public propertyMaxHeight
Gets or sets the maximum height constraint of the element.
(Inherited from FrameworkElement.)
Public propertyMaxWidth
Gets 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 propertyMinHeight
Gets 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 propertyName
Gets 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 propertyOpacity
Gets 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 propertyOpacityMask
Gets 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 propertyOverridesDefaultStyle
Gets or sets a value that indicates whether this element incorporates style properties from theme styles.
(Inherited from FrameworkElement.)
Public propertyPadding
Gets or sets the padding inside a control.
(Inherited from Control.)
Public propertyParent
Gets the logical parent element of this element.
(Inherited from FrameworkElement.)
Public propertyPasteCommand
Paste text from the clipboard.
Public propertyPersistId Obsolete.
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 propertyRenderSize
Gets (or sets) the final render size of this element.
(Inherited from UIElement.)
Public propertyRenderTransform
Gets or sets transform information that affects the rendering position of this element. This is a dependency property.
(Inherited from UIElement.)
Public propertyRenderTransformOrigin
Gets 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 propertyResizeHackForIssue2279DelayInMs
Number of miliseconds 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 work around issue https://github.com/cefsharp/CefSharp/issues/2779
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 propertySnapsToDevicePixels
Gets 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 propertyStyle
Gets or sets the style used by this element when it is rendered.
(Inherited from FrameworkElement.)
Protected propertyStylusPlugIns
Gets a collection of all stylus plug-in (customization) objects associated with this element.
(Inherited from UIElement.)
Public propertyTabIndex
Gets 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 propertyTag
Gets or sets an arbitrary object value that can be used to store custom information about this element.
(Inherited from FrameworkElement.)
Public propertyTemplate
Gets or sets a control template.
(Inherited from Control.)
Public propertyTemplatedParent
Gets 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 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 propertyTouchesCaptured
Gets all touch devices that are captured to this element.
(Inherited from UIElement.)
Public propertyTouchesCapturedWithin
Gets all touch devices that are captured to this element or any child elements in its visual tree.
(Inherited from UIElement.)
Public propertyTouchesDirectlyOver
Gets all touch devices that are over this element.
(Inherited from UIElement.)
Public propertyTouchesOver
Gets all touch devices that are over this element or any child elements in its visual tree.
(Inherited from UIElement.)
Public propertyTriggers
Gets the collection of triggers established directly on this element, or in child elements.
(Inherited from FrameworkElement.)
Public propertyUid
Gets or sets the unique identifier (for localization) for this element. This is a dependency property.
(Inherited from UIElement.)
Public propertyUndoCommand
Undo last action.
Public propertyUseLayoutRounding
Gets 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 propertyVerticalAlignment
Gets 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 propertyVerticalContentAlignment
Gets 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 propertyVisibility
Gets or sets the user interface (UI) visibility of this element. This is a dependency property.
(Inherited from UIElement.)
Protected propertyVisualBitmapEffect Obsolete.
Gets or sets the BitmapEffect value for the Visual.
(Inherited from Visual.)
Protected propertyVisualBitmapEffectInput Obsolete.
Gets or sets the BitmapEffectInput value for the Visual.
(Inherited from Visual.)
Protected propertyVisualBitmapScalingMode
Gets or sets the BitmapScalingMode for the Visual.
(Inherited from Visual.)
Protected propertyVisualCacheMode
Gets or sets a cached representation of the Visual.
(Inherited from Visual.)
Protected propertyVisualChildrenCount
Gets the number of visual child elements within this element.
(Inherited from FrameworkElement.)
Protected propertyVisualClearTypeHint
Gets or sets the ClearTypeHint that determines how ClearType is rendered in the Visual.
(Inherited from Visual.)
Protected propertyVisualClip
Gets or sets the clip region of the Visual as a Geometry value.
(Inherited from Visual.)
Protected propertyVisualEdgeMode
Gets or sets the edge mode of the Visual as an EdgeMode value.
(Inherited from Visual.)
Protected propertyVisualEffect
Gets or sets the bitmap effect to apply to the Visual.
(Inherited from Visual.)
Protected propertyVisualOffset
Gets or sets the offset value of the visual object.
(Inherited from Visual.)
Protected propertyVisualOpacity
Gets or sets the opacity of the Visual.
(Inherited from Visual.)
Protected propertyVisualOpacityMask
Gets or sets the Brush value that represents the opacity mask of the Visual.
(Inherited from Visual.)
Protected propertyVisualParent
Gets the visual tree parent of the visual object.
(Inherited from Visual.)
Protected propertyVisualScrollableAreaClip
Gets or sets a clipped scrollable area for the Visual.
(Inherited from Visual.)
Protected propertyVisualTextHintingMode
Gets or sets the TextHintingMode of the Visual.
(Inherited from Visual.)
Protected propertyVisualTextRenderingMode
Gets or sets the TextRenderingMode of the Visual.
(Inherited from Visual.)
Protected propertyVisualTransform
Gets or sets the Transform value for the Visual.
(Inherited from Visual.)
Protected propertyVisualXSnappingGuidelines
Gets or sets the x-coordinate (vertical) guideline collection.
(Inherited from Visual.)
Protected propertyVisualYSnappingGuidelines
Gets 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