ChromiumWebBrowser Properties |
The ChromiumWebBrowser type exposes the following members.
Name | Description | |
---|---|---|
ActualHeight | Gets the rendered height of this element. (Inherited from FrameworkElement.) | |
ActualWidth | Gets the rendered width of this element. (Inherited from FrameworkElement.) | |
Address |
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).
| |
AllowDrop | 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.) | |
AreAnyTouchesCaptured | Gets a value that indicates whether at least one touch is captured to this element. (Inherited from UIElement.) | |
AreAnyTouchesCapturedWithin | 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.) | |
AreAnyTouchesDirectlyOver | Gets a value that indicates whether at least one touch is pressed over this element. (Inherited from UIElement.) | |
AreAnyTouchesOver | 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.) | |
BackCommand |
Navigates to the previous page in the browser history. Will automatically be enabled/disabled depending on the
browser state.
| |
Background | Gets or sets a brush that describes the background of a control. (Inherited from Control.) | |
BindingGroup | Gets or sets the BindingGroup that is used for the element. (Inherited from FrameworkElement.) | |
BitmapEffect | 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.) | |
BitmapEffectInput | 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.) | |
BitmapFactory |
Gets or sets the bitmap factory.
| |
BorderBrush | Gets or sets a brush that describes the border background of a control. (Inherited from Control.) | |
BorderThickness | Gets or sets the border thickness of a control. (Inherited from Control.) | |
BrowserSettings |
Gets or sets the browser settings.
| |
CacheMode | Gets or sets a cached representation of the UIElement. (Inherited from UIElement.) | |
CanExecuteJavascriptInMainFrame |
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
| |
CanGoBack |
A flag that indicates whether the state of the control current supports the GoBack action (true) or not (false).
| |
CanGoForward |
A flag that indicates whether the state of the control currently supports the GoForward action (true) or not (false).
| |
CleanupCommand |
Command which cleans up the Resources used by the ChromiumWebBrowser
| |
CleanupElement |
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.
| |
Clip | Gets or sets the geometry used to define the outline of the contents of an element. This is a dependency property. (Inherited from UIElement.) | |
ClipToBounds | 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.) | |
CommandBindings | 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.) | |
Content | Gets or sets the content of a ContentControl. (Inherited from ContentControl.) | |
ContentStringFormat | Gets or sets a composite string that specifies how to format the Content property if it is displayed as a string. (Inherited from ContentControl.) | |
ContentTemplate | Gets or sets the data template used to display the content of the ContentControl. (Inherited from ContentControl.) | |
ContentTemplateSelector | Gets or sets a template selector that enables an application writer to provide custom template-selection logic. (Inherited from ContentControl.) | |
ContextMenu | 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.) | |
CopyCommand |
Copy selected text to the clipboard.
| |
Cursor | Gets or sets the cursor that displays when the mouse pointer is over this element. (Inherited from FrameworkElement.) | |
CutCommand |
Cut selected text to the clipboard.
| |
DataContext | Gets or sets the data context for an element when it participates in data binding. (Inherited from FrameworkElement.) | |
DefaultStyleKey | Gets or sets the key to use to reference the style for this control, when theme styles are used or defined. (Inherited from FrameworkElement.) | |
DependencyObjectType | Gets the DependencyObjectType that wraps the CLR type of this instance. (Inherited from DependencyObject.) | |
DesiredSize | Gets the size that this element computed during the measure pass of the layout process. (Inherited from UIElement.) | |
DialogHandler |
Implement IDialogHandler and assign to handle dialog events.
| |
Dispatcher | Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.) | |
DisplayHandler |
Implement IDisplayHandler and assign to handle events related to browser display state.
| |
DownloadHandler |
Implement IDownloadHandler and assign to handle events related to downloading files.
| |
DpiScaleFactor |
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.
| |
DragHandler |
Implement IDragHandler and assign to handle events related to dragging.
| |
Effect | Gets or sets the bitmap effect to apply to the UIElement. This is a dependency property. (Inherited from UIElement.) | |
FindHandler |
Implement IFindHandler to handle events related to find results.
| |
FlowDirection | 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.) | |
Focusable | Gets or sets a value that indicates whether the element can receive focus. This is a dependency property. (Inherited from UIElement.) | |
FocusHandler |
Implement IFocusHandler and assign to handle events related to the browser component's focus
| |
FocusVisualStyle | 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.) | |
FontFamily | Gets or sets the font family of the control. (Inherited from Control.) | |
FontSize | Gets or sets the font size. (Inherited from Control.) | |
FontStretch | Gets or sets the degree to which a font is condensed or expanded on the screen. (Inherited from Control.) | |
FontStyle | Gets or sets the font style. (Inherited from Control.) | |
FontWeight | Gets or sets the weight or thickness of the specified font. (Inherited from Control.) | |
ForceCursor | 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.) | |
Foreground | Gets or sets a brush that describes the foreground color. (Inherited from Control.) | |
ForwardCommand |
Navigates to the next page in the browser history. Will automatically be enabled/disabled depending on the
browser state.
| |
GeolocationHandler |
Implement IGeolocationHandler and assign to handle requests for permission to use geolocation.
| |
HandlesScrolling | Gets a value that indicates whether a control supports scrolling. (Inherited from Control.) | |
HasAnimatedProperties | Gets a value indicating whether this element has any animated properties. (Inherited from UIElement.) | |
HasContent | Gets a value that indicates whether the ContentControl contains content. (Inherited from ContentControl.) | |
HasEffectiveKeyboardFocus | Gets a value that indicates whether the UIElement has focus. (Inherited from UIElement.) | |
Height | Gets or sets the suggested height of the element. (Inherited from FrameworkElement.) | |
HorizontalAlignment | 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.) | |
HorizontalContentAlignment | Gets or sets the horizontal alignment of the control's content. (Inherited from Control.) | |
InheritanceBehavior | Gets or sets the scope limits for property value inheritance, resource key lookup, and RelativeSource FindAncestor lookup. (Inherited from FrameworkElement.) | |
InputBindings | Gets the collection of input bindings associated with this element. (Inherited from UIElement.) | |
InputScope | Gets or sets the context for input used by this FrameworkElement. (Inherited from FrameworkElement.) | |
IsArrangeValid | Gets a value indicating whether the computed size and position of child elements in this element's layout are valid. (Inherited from UIElement.) | |
IsBrowserInitialized |
A flag that indicates whether the WebBrowser is initialized (true) or not (false).
| |
IsDisposed |
Gets a value indicating whether this instance is disposed.
| |
IsEnabled | Gets or sets a value indicating whether this element is enabled in the user interface (UI). This is a dependency property. (Inherited from UIElement.) | |
IsEnabledCore | Gets a value that becomes the return value of IsEnabled in derived classes. (Inherited from UIElement.) | |
IsFocused | Gets a value that determines whether this element has logical focus. This is a dependency property. (Inherited from UIElement.) | |
IsHitTestVisible | 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.) | |
IsInitialized | 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.) | |
IsInputMethodEnabled | 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.) | |
IsKeyboardFocused | Gets a value indicating whether this element has keyboard focus. This is a dependency property. (Inherited from UIElement.) | |
IsKeyboardFocusWithin | 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.) | |
IsLoaded | Gets a value that indicates whether this element has been loaded for presentation. (Inherited from FrameworkElement.) | |
IsLoading |
A flag that indicates whether the control is currently loading one or more web pages (true) or not (false).
| |
IsManipulationEnabled | Gets or sets a value that indicates whether manipulation events are enabled on this UIElement. (Inherited from UIElement.) | |
IsMeasureValid | Gets a value indicating whether the current size returned by layout measure is valid. (Inherited from UIElement.) | |
IsMouseCaptured | Gets a value indicating whether the mouse is captured to this element. This is a dependency property. (Inherited from UIElement.) | |
IsMouseCaptureWithin | 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.) | |
IsMouseDirectlyOver | 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.) | |
IsMouseOver | 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.) | |
IsSealed | Gets a value that indicates whether this instance is currently sealed (read-only). (Inherited from DependencyObject.) | |
IsStylusCaptured | Gets a value indicating whether the stylus is captured by this element. This is a dependency property. (Inherited from UIElement.) | |
IsStylusCaptureWithin | 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.) | |
IsStylusDirectlyOver | 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.) | |
IsStylusOver | 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.) | |
IsTabStop | Gets or sets a value that indicates whether a control is included in tab navigation. (Inherited from Control.) | |
IsVisible | Gets a value indicating whether this element is visible in the user interface (UI). This is a dependency property. (Inherited from UIElement.) | |
JavascriptObjectRepository | ||
JsDialogHandler |
Implement IJsDialogHandler and assign to handle events related to JavaScript Dialogs.
| |
KeyboardHandler |
Implement IKeyboardHandler and assign to handle events related to key press.
| |
Language | Gets or sets localization/globalization language information that applies to an element. (Inherited from FrameworkElement.) | |
LayoutTransform | Gets or sets a graphics transformation that should apply to this element when layout is performed. (Inherited from FrameworkElement.) | |
LifeSpanHandler |
Implement ILifeSpanHandler and assign to handle events related to popups.
| |
LoadHandler |
Implement ILoadHandler and assign to handle events related to browser load status.
| |
LogicalChildren | Gets an enumerator to the content control's logical child elements. (Inherited from ContentControl.) | |
Margin | Gets or sets the outer margin of an element. (Inherited from FrameworkElement.) | |
MaxHeight | Gets or sets the maximum height constraint of the element. (Inherited from FrameworkElement.) | |
MaxWidth | Gets or sets the maximum width constraint of the element. (Inherited from FrameworkElement.) | |
MenuHandler |
Implement IContextMenuHandler and assign to handle events related to the browser context menu
| |
MinHeight | Gets or sets the minimum height constraint of the element. (Inherited from FrameworkElement.) | |
MinWidth | Gets or sets the minimum width constraint of the element. (Inherited from FrameworkElement.) | |
Name | 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.) | |
Opacity | 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.) | |
OpacityMask | 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.) | |
OverridesDefaultStyle | Gets or sets a value that indicates whether this element incorporates style properties from theme styles. (Inherited from FrameworkElement.) | |
Padding | Gets or sets the padding inside a control. (Inherited from Control.) | |
Parent | Gets the logical parent element of this element. (Inherited from FrameworkElement.) | |
PasteCommand |
Paste text from the clipboard.
| |
PersistId | Obsolete. Gets a value that uniquely identifies this element. (Inherited from UIElement.) | |
PrintCommand |
Prints the current browser contents.
| |
RedoCommand |
Redo last action.
| |
ReloadCommand |
Reloads the content of the current page. Will automatically be enabled/disabled depending on the browser state.
| |
RenderProcessMessageHandler |
Implement IRenderProcessMessageHandler and assign to handle messages from the render process.
| |
RenderSize | Gets (or sets, but see Remarks) the final render size of this element. (Inherited from UIElement.) | |
RenderTransform | Gets or sets transform information that affects the rendering position of this element. This is a dependency property. (Inherited from UIElement.) | |
RenderTransformOrigin | 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.) | |
RequestContext |
Gets or sets the request context.
| |
RequestHandler |
Implement IRequestHandler and assign to handle events related to browser requests.
| |
ResourceHandlerFactory |
Implement IResourceHandlerFactory and control the loading of resources
| |
Resources | Gets or sets the locally-defined resource dictionary. (Inherited from FrameworkElement.) | |
SelectAllCommand |
Select all text.
| |
SnapsToDevicePixels | 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.) | |
StopCommand |
Stops loading the current page.
| |
Style | Gets or sets the style used by this element when it is rendered. (Inherited from FrameworkElement.) | |
StylusPlugIns | Gets a collection of all stylus plug-in (customization) objects associated with this element. (Inherited from UIElement.) | |
TabIndex | 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.) | |
Tag | Gets or sets an arbitrary object value that can be used to store custom information about this element. (Inherited from FrameworkElement.) | |
Template | Gets or sets a control template. (Inherited from Control.) | |
TemplatedParent | 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.) | |
Title |
The title of the web page being currently displayed.
| |
ToolTip | Gets or sets the tool-tip object that is displayed for this element in the user interface (UI). (Inherited from FrameworkElement.) | |
TooltipText |
The text that will be displayed as a ToolTip
| |
TouchesCaptured | Gets all touch devices that are captured to this element. (Inherited from UIElement.) | |
TouchesCapturedWithin | Gets all touch devices that are captured to this element or any child elements in its visual tree. (Inherited from UIElement.) | |
TouchesDirectlyOver | Gets all touch devices that are over this element. (Inherited from UIElement.) | |
TouchesOver | Gets all touch devices that are over this element or any child elements in its visual tree. (Inherited from UIElement.) | |
Triggers | Gets the collection of triggers established directly on this element, or in child elements. (Inherited from FrameworkElement.) | |
Uid | Gets or sets the unique identifier (for localization) for this element. This is a dependency property. (Inherited from UIElement.) | |
UndoCommand |
Undo last action.
| |
UseLayoutRounding | 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.) | |
VerticalAlignment | 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.) | |
VerticalContentAlignment | Gets or sets the vertical alignment of the control's content. (Inherited from Control.) | |
ViewSourceCommand |
Opens up a new program window (using the default text editor) where the source code of the currently displayed web
page is shown.
| |
Visibility | Gets or sets the user interface (UI) visibility of this element. This is a dependency property. (Inherited from UIElement.) | |
VisualBitmapEffect | Obsolete. Gets or sets the BitmapEffect value for the Visual. (Inherited from Visual.) | |
VisualBitmapEffectInput | Obsolete. Gets or sets the BitmapEffectInput value for the Visual. (Inherited from Visual.) | |
VisualBitmapScalingMode | Gets or sets the BitmapScalingMode for the Visual. (Inherited from Visual.) | |
VisualCacheMode | Gets or sets a cached representation of the Visual. (Inherited from Visual.) | |
VisualChildrenCount | Gets the number of visual child elements within this element. (Inherited from FrameworkElement.) | |
VisualClearTypeHint | Gets or sets the ClearTypeHint that determines how ClearType is rendered in the Visual. (Inherited from Visual.) | |
VisualClip | (Inherited from Visual.) | |
VisualEdgeMode | (Inherited from Visual.) | |
VisualEffect | Gets or sets the bitmap effect to apply to the Visual. (Inherited from Visual.) | |
VisualOffset | Gets or sets the offset value of the visual object. (Inherited from Visual.) | |
VisualOpacity | Gets or sets the opacity of the Visual. (Inherited from Visual.) | |
VisualOpacityMask | (Inherited from Visual.) | |
VisualParent | Gets the visual tree parent of the visual object. (Inherited from Visual.) | |
VisualScrollableAreaClip | Gets or sets a clipped scrollable area for the Visual. (Inherited from Visual.) | |
VisualTextHintingMode | Gets or sets the TextHintingMode of the Visual. (Inherited from Visual.) | |
VisualTextRenderingMode | Gets or sets the TextRenderingMode of the Visual. (Inherited from Visual.) | |
VisualTransform | (Inherited from Visual.) | |
VisualXSnappingGuidelines | Gets or sets the x-coordinate (vertical) guideline collection. (Inherited from Visual.) | |
VisualYSnappingGuidelines | Gets or sets the y-coordinate (horizontal) guideline collection. (Inherited from Visual.) | |
WebBrowser |
Gets or sets the WebBrowser.
| |
Width | Gets or sets the width of the element. (Inherited from FrameworkElement.) | |
WpfKeyboardHandler |
WPF Keyboard Handled forwards key events to the underlying browser
| |
ZoomInCommand |
Increases the zoom level.
| |
ZoomLevel |
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).
| |
ZoomLevelIncrement |
Specifies the amount used to increase/decrease to ZoomLevel by
By Default this value is 0.10
| |
ZoomOutCommand |
Decreases the zoom level.
| |
ZoomResetCommand |
Resets the zoom level to the default. (100%)
|