net9.0-macos14.2
namespace WebKit
{
    [ObsoletedOSPlatform("macos10.14", "No longer supported.")]
    [Protocol(FormalSince = "10.11", Name = "WebUIDelegate", WrapperType = typeof(WebUIDelegateWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIShow", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WebView) }, Selector = "webViewShow:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIRunModal", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WebView) }, Selector = "webViewRunModal:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIClose", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WebView) }, Selector = "webViewClose:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIFocus", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WebView) }, Selector = "webViewFocus:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIUnfocus", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WebView) }, Selector = "webViewUnfocus:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIMakeFirstResponder", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WebView), typeof(NSResponder) }, Selector = "webView:makeFirstResponder:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UISetStatusText", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WebView), typeof(string) }, Selector = "webView:setStatusText:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UISetToolbarsVisible", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WebView), typeof(bool) }, Selector = "webView:setToolbarsVisible:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UISetStatusBarVisible", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WebView), typeof(bool) }, Selector = "webView:setStatusBarVisible:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UISetResizable", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WebView), typeof(bool) }, Selector = "webView:setResizable:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UISetFrame", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WebView), typeof(CGRect) }, Selector = "webView:setFrame:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIRunJavaScriptAlertPanelMessage", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(WebView), typeof(string), typeof(WebFrame) }, Selector = "webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIRunOpenPanelForFileButton", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WebView), typeof(IWebOpenPanelResultListener) }, Selector = "webView:runOpenPanelForFileButtonWithResultListener:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIMouseDidMoveOverElement", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(WebView), typeof(NSDictionary), typeof(NSEventModifierMask) }, Selector = "webView:mouseDidMoveOverElement:modifierFlags:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIWillPerformDragDestination", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(WebView), typeof(WebDragDestinationAction), typeof(INSDraggingInfo) }, Selector = "webView:willPerformDragDestinationAction:forDraggingInfo:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIWillPerformDragSource", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(WebView), typeof(WebDragSourceAction), typeof(CGPoint), typeof(NSPasteboard) }, Selector = "webView:willPerformDragSourceAction:fromPoint:withPasteboard:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIPrintFrameView", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WebView), typeof(WebFrameView) }, Selector = "webView:printFrameView:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIDrawHeaderInRect", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WebView), typeof(CGRect) }, Selector = "webView:drawHeaderInRect:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIDrawFooterInRect", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WebView), typeof(CGRect) }, Selector = "webView:drawFooterInRect:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIRunJavaScriptAlertPanel", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WebView), typeof(string) }, Selector = "webView:runJavaScriptAlertPanelWithMessage:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UISetContentRect", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WebView), typeof(CGRect) }, Selector = "webView:setContentRect:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UICreateWebView", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WebView), typeof(NSUrlRequest) }, ReturnType = typeof(WebView), Selector = "webView:createWebViewWithRequest:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UICreateModalDialog", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WebView), typeof(NSUrlRequest) }, ReturnType = typeof(WebView), Selector = "webView:createWebViewModalDialogWithRequest:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIGetFirstResponder", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WebView) }, ReturnType = typeof(NSResponder), Selector = "webViewFirstResponder:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIGetStatusText", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WebView) }, ReturnType = typeof(string), Selector = "webViewStatusText:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIAreToolbarsVisible", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WebView) }, ReturnType = typeof(bool), Selector = "webViewAreToolbarsVisible:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIIsStatusBarVisible", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WebView) }, ReturnType = typeof(bool), Selector = "webViewIsStatusBarVisible:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIIsResizable", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WebView) }, ReturnType = typeof(bool), Selector = "webViewIsResizable:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIGetFrame", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WebView) }, ReturnType = typeof(CGRect), Selector = "webViewFrame:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIRunJavaScriptConfirmationPanel", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(WebView), typeof(string), typeof(WebFrame) }, ReturnType = typeof(bool), Selector = "webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIRunJavaScriptTextInputPanelWithFrame", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(WebView), typeof(string), typeof(string), typeof(WebFrame) }, ReturnType = typeof(string), Selector = "webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIRunBeforeUnload", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(WebView), typeof(string), typeof(WebFrame) }, ReturnType = typeof(bool), Selector = "webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIGetContextMenuItems", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(WebView), typeof(NSDictionary), typeof(NSMenuItem[]) }, ReturnType = typeof(NSMenuItem[]), Selector = "webView:contextMenuItemsForElement:defaultMenuItems:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIValidateUserInterfaceItem", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(WebView), typeof(NSObject), typeof(bool) }, ReturnType = typeof(bool), Selector = "webView:validateUserInterfaceItem:defaultValidation:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIShouldPerformAction", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(WebView), typeof(Selector), typeof(NSObject) }, ReturnType = typeof(bool), Selector = "webView:shouldPerformAction:fromSender:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIGetDragDestinationActionMask", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WebView), typeof(INSDraggingInfo) }, ReturnType = typeof(WebDragDestinationAction), Selector = "webView:dragDestinationActionMaskForDraggingInfo:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIDragSourceActionMask", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WebView), typeof(CGPoint) }, ReturnType = typeof(WebDragSourceAction), Selector = "webView:dragSourceActionMaskForPoint:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIGetHeaderHeight", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WebView) }, ReturnType = typeof(float), Selector = "webViewHeaderHeight:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIGetFooterHeight", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WebView) }, ReturnType = typeof(float), Selector = "webViewFooterHeight:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIRunJavaScriptConfirmPanel", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(WebView), typeof(string) }, ReturnType = typeof(bool), Selector = "webView:runJavaScriptConfirmPanelWithMessage:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIRunJavaScriptTextInputPanel", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(WebView), typeof(string), typeof(string) }, ReturnType = typeof(string), Selector = "webView:runJavaScriptTextInputPanelWithPrompt:defaultText:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UIGetContentRect", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(WebView) }, ReturnType = typeof(CGRect), Selector = "webViewContentRect:")]
    [SupportedOSPlatform("macos")]
    [UnsupportedOSPlatform("ios")]
    [UnsupportedOSPlatform("tvos")]
    [UnsupportedOSPlatform("maccatalyst")]
    public interface IWebUIDelegate : INativeObject, IDisposable
}
nuget.org
0.0 %
Reference this API
0.0 %
Derive from this class or interface
.NET 6.07.08.09.0
Information specific to net9.0
Platforms This API is only available when you target a specific platform:
macOS 10.1410.1510.1611.011.111.211.312.012.112.313.013.113.314.014.2
Information specific to net9.0-macos14.2
Assembly

Microsoft.macOS , Version=14.2.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This API is only supported on the following platforms:

  • iOS
  • Mac Catalyst
  • macOS
  • tvOS
  • Built-in API
  • Package-provided API

12/26/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙