WKUIDelegate.ShouldPreviewElement(WKWebView, WKPreviewElementInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Method that is called to find out if the element should provide a preview.
[Foundation.Export("webView:shouldPreviewElement:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ShouldPreviewElement (WebKit.WKWebView webView, WebKit.WKPreviewElementInfo elementInfo);
abstract member ShouldPreviewElement : WebKit.WKWebView * WebKit.WKPreviewElementInfo -> bool
override this.ShouldPreviewElement : WebKit.WKWebView * WebKit.WKPreviewElementInfo -> bool
Parameters
- webView
- WKWebView
- elementInfo
- WKPreviewElementInfo
Returns
- Attributes