WebView2Control Class
- Last UpdatedAug 21, 2026
- 1 minute read
'Declaration
<ToolboxItemAttribute(True)>
<StyleTypedPropertyAttribute(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)>
<XmlLangPropertyAttribute("Language")>
<UsableDuringInitializationAttribute(True)>
<RuntimeNamePropertyAttribute("Name")>
<UidPropertyAttribute("Uid")>
<TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
<NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
Public Class WebView2Control
Inherits Microsoft.Web.WebView2.Wpf.WebView2
Implements ArchestrA.Client.RuntimeData.IUserActivity, Microsoft.Web.WebView2.Wpf.IWebView2, Microsoft.Web.WebView2.Wpf.IWebView2Private
[ToolboxItem(true)]
[StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)]
[XmlLangProperty("Language")]
[UsableDuringInitialization(true)]
[RuntimeNameProperty("Name")]
[UidProperty("Uid")]
[TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
[NameScopeProperty("NameScope", System.Windows.NameScope)]
public class WebView2Control : Microsoft.Web.WebView2.Wpf.WebView2, ArchestrA.Client.RuntimeData.IUserActivity, Microsoft.Web.WebView2.Wpf.IWebView2, Microsoft.Web.WebView2.Wpf.IWebView2Private
[ToolboxItem(true)]
[StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)]
[XmlLangProperty("Language")]
[UsableDuringInitialization(true)]
[RuntimeNameProperty("Name")]
[UidProperty("Uid")]
[TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
[NameScopeProperty("NameScope", System.Windows.NameScope)]
public ref class WebView2Control : public Microsoft.Web.WebView2.Wpf.WebView2, ArchestrA.Client.RuntimeData.IUserActivity, Microsoft.Web.WebView2.Wpf.IWebView2, Microsoft.Web.WebView2.Wpf.IWebView2Private