RunicWebView class

Namespace Runic.Application.Views.Wpf in Runic.Application.Views.Wpf 0.23.0

public sealed class RunicWebView : HwndHost

Inherits or implements HwndHost.

Presents a Desktop surface inside the application's existing WPF visual tree.

Remarks

WPF owns placement, size, visibility, and the dispatcher. Insert the control before opening its surface.

Constructors

RunicWebView

public RunicWebView()

Creates an empty child presentation.

Methods

CreateWindowHostFactory

public IDesktopWindowHostFactory CreateWindowHostFactory()

Creates a Desktop host factory that presents one surface at a time in this control.

Remarks

For DesktopHostOptions.WindowHostFactory, as RunicViewHost uses it for the Desktop host it starts itself. On a RunicViewHost.Desktop the application shares, the host presents its own surface through it instead.