Skip to content

NavigationWebView class

Defined in

Namespace: CrissCross.WPF Assembly: CrissCross.WPF.dll Full name: CrissCross.WPF.NavigationWebView Modifiers: public

Summary

View source

        Navigation Web View.
        

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

Class hierarchy
classDiagram
class NavigationWebView
class ContentControl
ContentControl <|-- NavigationWebView
class IDisposable {
    <>
}
IDisposable <|.. NavigationWebView
class IUseNavigation {
    <>
}
IUseNavigation <|.. NavigationWebView
class IAmBuilt {
    <>
}
IAmBuilt <|.. NavigationWebView
class IActivatableView {
    <>
}
IActivatableView <|.. NavigationWebView

Inherits from: ContentControl

Implements: IDisposable, IUseNavigation, IAmBuilt, IActivatableView

Constructors

NameSummary
.ctorInitializes a new instance of the [NavigationWebView](# class.

Properties

NameSummary
CanNavigateBackGets the can navigate back.
NavigateBackIsEnabledGets or sets a value indicating whether [navigate back is enabled].
DesignModeForegroundColorGets or sets the color of the design mode foreground.
SourceGets or sets the source.
DefaultBackgroundColorGets or sets the default color of the background.
AllowExternalDropGets or sets a value indicating whether [allow external drop].
CanGoBackGets a value indicating whether this instance can go back. if the WebView can navigate to a previous page in the navigation history. Wrapper around the...
CanGoForwardGets a value indicating whether this instance can go forward. if the WebView can navigate to a next page in the navigation history. Wrapper around the...
ZoomFactorGets or sets a value indicating whether [zoom factor].
ContentGets or sets the content of the XAML overlay />.
OpacityMaskGets the opacity mask.
OpacityGets the opacity.
EffectGets the effect.
ContextMenuGets the context menu.
FocusVisualStyleGets the focus visual style.
InputScopeGets the input scope.
NavigationFrameGets the navigation frame.
TransitionGets or sets the transition.
AutoDisposeGets or sets a value indicating whether [automatic dispose].

Fields

NameSummary
static AutoDisposePropertyThe automatic dispose property.
static NavigateBackIsEnabledPropertyThe navigate back is enabled property.
static NavigationFramePropertyThe navigation frame property.
static TransitionPropertyThe transition property.
static SourcePropertyThe source property.
static ZoomFactorPropertyThe WPF DependencyProperty which backs the Microsoft.Web.WebView2.Wpf.WebView2.ZoomFactor property.
static ContentPropertyThe navigate back is enabled property.
static DefaultBackgroundColorPropertyThe default background color property.
static AllowExternalDropPropertyThe allow external drop property.
static DesignModeForegroundColorPropertyThe design mode foreground color property.

Methods

NameSummary
GoBackNavigates the WebView to the previous page in the navigation history. Equivalent to calling Microsoft.Web.WebView2.Core.CoreWebView2.GoBack on...
GoForwardNavigates the WebView to the next page in the navigation history. Equivalent to calling Microsoft.Web.WebView2.Core.CoreWebView2.GoForward on...
ReloadReloads the current page. Equivalent to calling Microsoft.Web.WebView2.Core.CoreWebView2.Reload on Microsoft.Web.WebView2.Wpf.WebView2.CoreWebView2.
StopStops all navigations and pending resource fetches. Equivalent to calling Microsoft.Web.WebView2.Core.CoreWebView2.Stop on Microsoft.Web.WebView2.Wpf.WebView2.CoreWebView2.
NavigateToStringInitiates a navigation to htmlContent as source HTML of a new document. Equivalent to calling Microsoft.Web.WebView2.Core.CoreWebView2.NavigateToString(System.String) ...
ExecuteScriptAsyncExecutes JavaScript code from the javaScript parameter in the current top level document rendered in the WebView. Equivalent to calling...
EnsureCoreWebView2AsyncEnsures the core web view2 asynchronous.
DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
OnInitializedRaises the Initialized event. This method is invoked whenever...
Inherited members

See also