WebBrowserExtensionsSetAsPopup Method |
Version 112.3.0
An IWebBrowser extension method that sets the
HasParent
property used when passing a ChromiumWebBrowser instance to
OnBeforePopup(IWebBrowser, IBrowser, IFrame, String, String, WindowOpenDisposition, Boolean, IPopupFeatures, IWindowInfo, IBrowserSettings, Boolean, IWebBrowser)
Namespace:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 112.3.0.0 (112.3.0.0)
Syntax public static void SetAsPopup(
this IWebBrowser browser
)
public:
[ExtensionAttribute]
static void SetAsPopup(
IWebBrowser^ browser
)
Parameters
- browser
- Type: CefSharpIWebBrowser
The ChromiumWebBrowser instance this method extends.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IWebBrowser. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also