NavigationWebView class¶
Defined in
Namespace: CrissCross.WPF
Assembly: CrissCross.WPF.dll
Full name: CrissCross.WPF.NavigationWebView
Modifiers: public
Summary¶
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¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [NavigationWebView](# class. |
Properties¶
| Name | Summary |
|---|---|
| CanNavigateBack | Gets the can navigate back. |
| NavigateBackIsEnabled | Gets or sets a value indicating whether [navigate back is enabled]. |
| DesignModeForegroundColor | Gets or sets the color of the design mode foreground. |
| Source | Gets or sets the source. |
| DefaultBackgroundColor | Gets or sets the default color of the background. |
| AllowExternalDrop | Gets or sets a value indicating whether [allow external drop]. |
| CanGoBack | Gets 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... |
| CanGoForward | Gets 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... |
| ZoomFactor | Gets or sets a value indicating whether [zoom factor]. |
| Content | Gets or sets the content of the XAML overlay />. |
| OpacityMask | Gets the opacity mask. |
| Opacity | Gets the opacity. |
| Effect | Gets the effect. |
| ContextMenu | Gets the context menu. |
| FocusVisualStyle | Gets the focus visual style. |
| InputScope | Gets the input scope. |
| NavigationFrame | Gets the navigation frame. |
| Transition | Gets or sets the transition. |
| AutoDispose | Gets or sets a value indicating whether [automatic dispose]. |
Fields¶
| Name | Summary |
|---|---|
| static AutoDisposeProperty | The automatic dispose property. |
| static NavigateBackIsEnabledProperty | The navigate back is enabled property. |
| static NavigationFrameProperty | The navigation frame property. |
| static TransitionProperty | The transition property. |
| static SourceProperty | The source property. |
| static ZoomFactorProperty | The WPF DependencyProperty which backs the Microsoft.Web.WebView2.Wpf.WebView2.ZoomFactor property. |
| static ContentProperty | The navigate back is enabled property. |
| static DefaultBackgroundColorProperty | The default background color property. |
| static AllowExternalDropProperty | The allow external drop property. |
| static DesignModeForegroundColorProperty | The design mode foreground color property. |
Methods¶
| Name | Summary |
|---|---|
| GoBack | Navigates the WebView to the previous page in the navigation history. Equivalent to calling Microsoft.Web.WebView2.Core.CoreWebView2.GoBack on... |
| GoForward | Navigates the WebView to the next page in the navigation history. Equivalent to calling Microsoft.Web.WebView2.Core.CoreWebView2.GoForward on... |
| Reload | Reloads the current page. Equivalent to calling Microsoft.Web.WebView2.Core.CoreWebView2.Reload on Microsoft.Web.WebView2.Wpf.WebView2.CoreWebView2. |
| Stop | Stops all navigations and pending resource fetches. Equivalent to calling Microsoft.Web.WebView2.Core.CoreWebView2.Stop on Microsoft.Web.WebView2.Wpf.WebView2.CoreWebView2. |
| NavigateToString | Initiates a navigation to htmlContent as source HTML of a new document. Equivalent to calling Microsoft.Web.WebView2.Core.CoreWebView2.NavigateToString(System.String) ... |
| ExecuteScriptAsync | Executes JavaScript code from the javaScript parameter in the current top level document rendered in the WebView. Equivalent to calling... |
| EnsureCoreWebView2Async | Ensures the core web view2 asynchronous. |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| OnInitialized | Raises the Initialized event. This method is invoked whenever... |