WebBrowserExtensionsSetAsPopup Method |
Version 100.0.140
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: 100.0.140.0 (100.0.140.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