WKWebView Class

Definition

Displays a Web page.

[Foundation.Register("WKWebView", true)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public class WKWebView : AppKit.NSView, AppKit.INSUserInterfaceValidations, IDisposable
type WKWebView = class
    inherit NSView
    interface INSUserInterfaceValidations
    interface INativeObject
    interface IDisposable
Inheritance
Attributes
Implements

Constructors

WKWebView(CGRect, WKWebViewConfiguration)
WKWebView(IntPtr)

A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

WKWebView(NSCoder)

A constructor that initializes the object from the data stored in the unarchiver object.

WKWebView(NSObjectFlag)

Constructor to call on derived classes to skip initialization and merely allocate the object.

Properties

AcceptsTouchEvents (Inherited from NSView)
AccessibilityActionNames (Inherited from NSView)
AccessibilityActivationPoint (Inherited from NSView)
AccessibilityAllowedValues (Inherited from NSView)
AccessibilityAlternateUIVisible (Inherited from NSView)
AccessibilityApplicationFocusedUIElement (Inherited from NSView)
AccessibilityAttributeNames (Inherited from NSView)
AccessibilityCancelButton (Inherited from NSView)
AccessibilityChildren (Inherited from NSView)
AccessibilityChildrenInNavigationOrder (Inherited from NSView)
AccessibilityClearButton (Inherited from NSView)
AccessibilityCloseButton (Inherited from NSView)
AccessibilityColumnCount (Inherited from NSView)
AccessibilityColumnHeaderUIElements (Inherited from NSView)
AccessibilityColumnIndexRange (Inherited from NSView)
AccessibilityColumns (Inherited from NSView)
AccessibilityColumnTitles (Inherited from NSView)
AccessibilityContents (Inherited from NSView)
AccessibilityCriticalValue (Inherited from NSView)
AccessibilityCustomActions (Inherited from NSView)
AccessibilityCustomRotors (Inherited from NSView)
AccessibilityDecrementButton (Inherited from NSView)
AccessibilityDefaultButton (Inherited from NSView)
AccessibilityDisclosed (Inherited from NSView)
AccessibilityDisclosedByRow (Inherited from NSView)
AccessibilityDisclosedRows (Inherited from NSView)
AccessibilityDisclosureLevel (Inherited from NSView)
AccessibilityDocument (Inherited from NSView)
AccessibilityEdited (Inherited from NSView)
AccessibilityElement (Inherited from NSView)
AccessibilityEnabled (Inherited from NSView)
AccessibilityExpanded (Inherited from NSView)
AccessibilityExtrasMenuBar (Inherited from NSView)
AccessibilityFilename (Inherited from NSView)
AccessibilityFocused (Inherited from NSView)
AccessibilityFocusedWindow (Inherited from NSView)
AccessibilityFrame (Inherited from NSView)
AccessibilityFrontmost (Inherited from NSView)
AccessibilityFullScreenButton (Inherited from NSView)
AccessibilityGrowArea (Inherited from NSView)
AccessibilityHandles (Inherited from NSView)
AccessibilityHeader (Inherited from NSView)
AccessibilityHelp (Inherited from NSView)
AccessibilityHidden (Inherited from NSView)
AccessibilityHorizontalScrollBar (Inherited from NSView)
AccessibilityHorizontalUnitDescription (Inherited from NSView)
AccessibilityHorizontalUnits (Inherited from NSView)
AccessibilityIdentifier (Inherited from NSView)
AccessibilityIncrementButton (Inherited from NSView)
AccessibilityIndex (Inherited from NSView)
AccessibilityInsertionPointLineNumber (Inherited from NSView)
AccessibilityIsIgnored (Inherited from NSView)
AccessibilityLabel (Inherited from NSView)
AccessibilityLabelUIElements (Inherited from NSView)
AccessibilityLabelValue (Inherited from NSView)
AccessibilityLinkedUIElements (Inherited from NSView)
AccessibilityMain (Inherited from NSView)
AccessibilityMainWindow (Inherited from NSView)
AccessibilityMarkerGroupUIElement (Inherited from NSView)
AccessibilityMarkerTypeDescription (Inherited from NSView)
AccessibilityMarkerUIElements (Inherited from NSView)
AccessibilityMarkerValues (Inherited from NSView)
AccessibilityMaxValue (Inherited from NSView)
AccessibilityMenuBar (Inherited from NSView)
AccessibilityMinimizeButton (Inherited from NSView)
AccessibilityMinimized (Inherited from NSView)
AccessibilityMinValue (Inherited from NSView)
AccessibilityModal (Inherited from NSView)
AccessibilityNextContents (Inherited from NSView)
AccessibilityNotifiesWhenDestroyed (Inherited from NSView)
AccessibilityNumberOfCharacters (Inherited from NSView)
AccessibilityOrderedByRow (Inherited from NSView)
AccessibilityOrientation (Inherited from NSView)
AccessibilityOverflowButton (Inherited from NSView)
AccessibilityParameterizedAttributeNames (Inherited from NSView)
AccessibilityParent (Inherited from NSView)
AccessibilityPlaceholderValue (Inherited from NSView)
AccessibilityPreviousContents (Inherited from NSView)
AccessibilityProtectedContent (Inherited from NSView)
AccessibilityProxy (Inherited from NSView)
AccessibilityRequired (Inherited from NSView)
AccessibilityRole (Inherited from NSView)
AccessibilityRoleDescription (Inherited from NSView)
AccessibilityRowCount (Inherited from NSView)
AccessibilityRowHeaderUIElements (Inherited from NSView)
AccessibilityRowIndexRange (Inherited from NSView)
AccessibilityRows (Inherited from NSView)
AccessibilityRulerMarkerType (Inherited from NSView)
AccessibilitySearchButton (Inherited from NSView)
AccessibilitySearchMenu (Inherited from NSView)
AccessibilitySelected (Inherited from NSView)
AccessibilitySelectedCells (Inherited from NSView)
AccessibilitySelectedChildren (Inherited from NSView)
AccessibilitySelectedColumns (Inherited from NSView)
AccessibilitySelectedRows (Inherited from NSView)
AccessibilitySelectedText (Inherited from NSView)
AccessibilitySelectedTextRange (Inherited from NSView)
AccessibilitySelectedTextRanges (Inherited from NSView)
AccessibilityServesAsTitleForUIElements (Inherited from NSView)
AccessibilitySharedCharacterRange (Inherited from NSView)
AccessibilitySharedFocusElements (Inherited from NSView)
AccessibilitySharedTextUIElements (Inherited from NSView)
AccessibilityShownMenu (Inherited from NSView)
AccessibilitySortDirection (Inherited from NSView)
AccessibilitySplitters (Inherited from NSView)
AccessibilitySubrole (Inherited from NSView)
AccessibilityTabs (Inherited from NSView)
AccessibilityTitle (Inherited from NSView)
AccessibilityTitleUIElement (Inherited from NSView)
AccessibilityToolbarButton (Inherited from NSView)
AccessibilityTopLevelUIElement (Inherited from NSView)
AccessibilityUnitDescription (Inherited from NSView)
AccessibilityUnits (Inherited from NSView)
AccessibilityUrl (Inherited from NSView)
AccessibilityValue (Inherited from NSView)
AccessibilityValueDescription (Inherited from NSView)
AccessibilityVerticalScrollBar (Inherited from NSView)
AccessibilityVerticalUnitDescription (Inherited from NSView)
AccessibilityVerticalUnits (Inherited from NSView)
AccessibilityVisibleCells (Inherited from NSView)
AccessibilityVisibleCharacterRange (Inherited from NSView)
AccessibilityVisibleChildren (Inherited from NSView)
AccessibilityVisibleColumns (Inherited from NSView)
AccessibilityVisibleRows (Inherited from NSView)
AccessibilityWarningValue (Inherited from NSView)
AccessibilityWindow (Inherited from NSView)
AccessibilityWindows (Inherited from NSView)
AccessibilityZoomButton (Inherited from NSView)
AlignmentRectInsets (Inherited from NSView)
AllowsBackForwardNavigationGestures

A Boolean value indicating whether horizontal swipe gestures will trigger back-forward list navigations.

AllowsLinkPreview

Gets or sets whether pressing a link previews the link destination.

AllowsMagnification
AllowsVibrancy (Inherited from NSView)
AlphaValue (Inherited from NSView)
Animations (Inherited from NSView)
Animator (Inherited from NSView)
Appearance

Strongly-typed property that returns the UIAppearance class for this class.

AutoresizesSubviews (Inherited from NSView)
AutoresizingMask (Inherited from NSView)
BackForwardList

The web view's back-forward list.

BackgroundFilters (Inherited from NSView)
BaselineOffsetFromBottom (Inherited from NSView)
BottomAnchor (Inherited from NSView)
Bounds (Inherited from NSView)
BoundsRotation (Inherited from NSView)
CanBecomeKeyView (Inherited from NSView)
CanDrawConcurrently (Inherited from NSView)
CanDrawSubviewsIntoLayer (Inherited from NSView)
CanGoBack

Boolean value indicating whether there is a back item in the back-forward list that can be navigated to.

CanGoForward

A Boolean value indicating whether there is a forward item in the back-forward list that can be navigated to.

CenterXAnchor (Inherited from NSView)
CenterYAnchor (Inherited from NSView)
CertificateChain

Developers should not use this deprecated method, but instead ServerTrust.

Class (Inherited from NSObject)
ClassHandle

The handle for this class.

CompositingFilter (Inherited from NSView)
Configuration

A copy of the configuration with which the web view was initialized.

Constraints (Inherited from NSView)
ContentFilters (Inherited from NSView)
CustomUserAgent

If not null, an application-defined user-agent string.

DebugDescription

A developer-meaningful description of this object.

(Inherited from NSObject)
Description

Description of the object, the Objective-C version of ToString.

(Inherited from NSObject)
EffectiveAppearance (Inherited from NSView)
EnclosingScrollView (Inherited from NSView)
EstimatedProgress

An estimate of what fraction of the current navigation has been completed.

FirstBaselineAnchor (Inherited from NSView)
FirstBaselineOffsetFromTop (Inherited from NSView)
FittingSize (Inherited from NSView)
FocusRingMaskBounds (Inherited from NSView)
FocusRingType (Inherited from NSView)
Frame (Inherited from NSView)
FrameCenterRotation (Inherited from NSView)
FrameRotation (Inherited from NSView)
GestureRecognizers (Inherited from NSView)
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from NSObject)
HasAmbiguousLayout (Inherited from NSView)
HasOnlySecureContent

A Boolean value indicating whether all resources on the page have been loaded over securely encrypted connections.

HeightAdjustLimit (Inherited from NSView)
HeightAnchor (Inherited from NSView)
Hidden (Inherited from NSView)
Identifier (Inherited from NSView)
InLiveResize (Inherited from NSView)
InputContext (Inherited from NSView)
IntrinsicContentSize (Inherited from NSView)
IsDirectBinding (Inherited from NSObject)
IsDrawingFindIndicator (Inherited from NSView)
IsFlipped (Inherited from NSView)
IsHiddenOrHasHiddenAncestor (Inherited from NSView)
IsInFullscreenMode (Inherited from NSView)
IsLoading

A Boolean value indicating whether the view is currently loading content.

IsOpaque (Inherited from NSView)
IsProxy (Inherited from NSObject)
IsRotatedFromBase (Inherited from NSView)
IsRotatedOrScaledFromBase (Inherited from NSView)
LastBaselineAnchor (Inherited from NSView)
LastBaselineOffsetFromBottom (Inherited from NSView)
Layer (Inherited from NSView)
LayerContentsPlacement (Inherited from NSView)
LayerContentsRedrawPolicy (Inherited from NSView)
LayerUsesCoreImageFilters (Inherited from NSView)
LayoutGuides (Inherited from NSView)
LeadingAnchor (Inherited from NSView)
LeftAnchor (Inherited from NSView)
Magnification
Menu (Inherited from NSResponder)
MouseDownCanMoveWindow (Inherited from NSView)
NavigationDelegate

The web view's navigation delegate.

NeedsDisplay (Inherited from NSView)
NeedsLayout (Inherited from NSView)
NeedsPanelToBecomeKey (Inherited from NSView)
NeedsUpdateConstraints (Inherited from NSView)
NextKeyView (Inherited from NSView)
NextResponder (Inherited from NSResponder)
NextValidKeyView (Inherited from NSView)
OpaqueAncestor (Inherited from NSView)
PageFooter (Inherited from NSView)
PageHeader (Inherited from NSView)
PostsBoundsChangedNotifications (Inherited from NSView)
PostsFrameChangedNotifications (Inherited from NSView)
PreparedContentRect (Inherited from NSView)
PreservesContentDuringLiveResize (Inherited from NSView)
PressureConfiguration (Inherited from NSView)
PreviousKeyView (Inherited from NSView)
PreviousValidKeyView (Inherited from NSView)
PrintJobTitle (Inherited from NSView)
RectPreservedDuringLiveResize (Inherited from NSView)
RetainCount

Returns the current Objective-C retain count for the object.

(Inherited from NSObject)
RightAnchor (Inherited from NSView)
ScrollView

The scroll view associated with the web view.

Self (Inherited from NSObject)
ServerTrust

Gets the security trust object for the committed navigation.

Shadow (Inherited from NSView)
ShouldDrawColor (Inherited from NSView)
Subviews (Inherited from NSView)
Superclass (Inherited from NSObject)
SuperHandle

Handle used to represent the methods in the base class for this NSObject.

(Inherited from NSObject)
Superview (Inherited from NSView)
Tag (Inherited from NSView)
Title

The page title.

ToolTip (Inherited from NSView)
TopAnchor (Inherited from NSView)
TouchBar (Inherited from NSResponder)
TrailingAnchor (Inherited from NSView)
TranslatesAutoresizingMaskIntoConstraints (Inherited from NSView)
UIDelegate

The web view's user interface delegate.

Url

The active URL.

UserActivity (Inherited from NSResponder)
UserInterfaceLayoutDirection (Inherited from NSView)
WantsBestResolutionOpenGLSurface (Inherited from NSView)
WantsDefaultClipping (Inherited from NSView)
WantsLayer (Inherited from NSView)
WantsPeriodicDraggingUpdates (Inherited from NSView)
WantsRestingTouches (Inherited from NSView)
WantsUpdateLayer (Inherited from NSView)
WeakNavigationDelegate

The web view's navigation delegate.

WeakUIDelegate

The web view's user interface delegate.

WidthAdjustLimit (Inherited from NSView)
WidthAnchor (Inherited from NSView)
Window (Inherited from NSView)
Zone (Inherited from NSObject)

Methods

AcceptsFirstMouse(NSEvent) (Inherited from NSView)
AcceptsFirstResponder() (Inherited from NSResponder)
AccessibilityPerformAction(NSString) (Inherited from NSView)
AccessibilityPerformCancel() (Inherited from NSView)
AccessibilityPerformConfirm() (Inherited from NSView)
AccessibilityPerformDecrement() (Inherited from NSView)
AccessibilityPerformDelete() (Inherited from NSView)
AccessibilityPerformIncrement() (Inherited from NSView)
AccessibilityPerformPick() (Inherited from NSView)
AccessibilityPerformPress() (Inherited from NSView)
AccessibilityPerformRaise() (Inherited from NSView)
AccessibilityPerformShowAlternateUI() (Inherited from NSView)
AccessibilityPerformShowDefaultUI() (Inherited from NSView)
AccessibilityPerformShowMenu() (Inherited from NSView)
AddConstraint(NSLayoutConstraint) (Inherited from NSView)
AddConstraints(NSLayoutConstraint[]) (Inherited from NSView)
AddCursorRect(CGRect, NSCursor) (Inherited from NSView)
AddGestureRecognizer(NSGestureRecognizer) (Inherited from NSView)
AddLayoutGuide(NSLayoutGuide) (Inherited from NSView)
AddObserver(NSObject, NSString, NSKeyValueObservingOptions, IntPtr)

Registers an object for being observed externally (using NSString keyPath).   Observed changes are dispatched to the observer’s object ObserveValue(NSString, NSObject, NSDictionary, IntPtr) method.

(Inherited from NSObject)
AddObserver(NSObject, String, NSKeyValueObservingOptions, IntPtr)

Registers an object for being observed externally (using string keyPath).   Observed changes are dispatched to the observer’s object ObserveValue(NSString, NSObject, NSDictionary, IntPtr) method.

(Inherited from NSObject)
AddObserver(NSString, NSKeyValueObservingOptions, Action<NSObservedChange>)

Registers an object for being observed externally using an arbitrary method.

(Inherited from NSObject)
AddObserver(String, NSKeyValueObservingOptions, Action<NSObservedChange>)

Registers an object for being observed externally using an arbitrary method.

(Inherited from NSObject)
AddSubview(NSView) (Inherited from NSView)
AddSubview(NSView, NSWindowOrderingMode, NSView) (Inherited from NSView)
AddToolTip(CGRect, NSObject, IntPtr) (Inherited from NSView)
AddTrackingArea(NSTrackingArea) (Inherited from NSView)
AddTrackingRect(CGRect, NSObject, IntPtr, Boolean) (Inherited from NSView)
AdjustPageHeightNew(nfloat, nfloat, nfloat, nfloat) (Inherited from NSView)
AdjustPageWidthNew(nfloat, nfloat, nfloat, nfloat) (Inherited from NSView)
AdjustScroll(CGRect) (Inherited from NSView)
AllocateGState() (Inherited from NSView)
AncestorSharedWithView(NSView) (Inherited from NSView)
AnimationFor(NSString) (Inherited from NSView)
AppearanceWhenContainedIn(Type[])

Returns a strongly typed UIAppearance for instances of this class when the view is hosted in the specified hierarchy.

Autoscroll(NSEvent) (Inherited from NSView)
AwakeFromNib()

Called after the object has been loaded from the nib file. Overriders must call base.AwakeFromNib().

(Inherited from NSObject)
BackingAlignedRect(CGRect, NSAlignmentOptions) (Inherited from NSView)
BecomeFirstResponder() (Inherited from NSResponder)
BeginDocument() (Inherited from NSView)
BeginDraggingSession(NSDraggingItem[], NSEvent, INSDraggingSource) (Inherited from NSView)
BeginGestureWithEvent(NSEvent) (Inherited from NSResponder)
BeginInvokeOnMainThread(Action) (Inherited from NSObject)
BeginInvokeOnMainThread(Selector, NSObject)

Invokes asynchrously the specified code on the main UI thread.

(Inherited from NSObject)
BeginPage(CGRect, CGPoint) (Inherited from NSView)
Bind(NSString, NSObject, String, NSDictionary) (Inherited from NSObject)
Bind(String, NSObject, String, NSDictionary) (Inherited from NSObject)
BindingInfo(String) (Inherited from NSObject)
BindingOptionDescriptions(String) (Inherited from NSObject)
BindingValueClass(String) (Inherited from NSObject)
BitmapImageRepForCachingDisplayInRect(CGRect) (Inherited from NSView)
CacheDisplay(CGRect, NSBitmapImageRep) (Inherited from NSView)
CanDraw() (Inherited from NSView)
CenterScanRect(CGRect) (Inherited from NSView)
CommitEditing() (Inherited from NSObject)
CommitEditing(NSObject, Selector, IntPtr) (Inherited from NSObject)
ConcludeDragOperation(NSDraggingInfo) (Inherited from NSView)
ConformsToProtocol(IntPtr)

Invoked to determine if this object implements the specified protocol.

(Inherited from NSObject)
ConvertPointFromBacking(CGPoint) (Inherited from NSView)
ConvertPointFromBase(CGPoint) (Inherited from NSView)
ConvertPointFromLayer(CGPoint) (Inherited from NSView)
ConvertPointFromView(CGPoint, NSView) (Inherited from NSView)
ConvertPointToBacking(CGPoint) (Inherited from NSView)
ConvertPointToBase(CGPoint) (Inherited from NSView)
ConvertPointToLayer(CGPoint) (Inherited from NSView)
ConvertPointToView(CGPoint, NSView) (Inherited from NSView)
ConvertRectFromBacking(CGRect) (Inherited from NSView)
ConvertRectFromBase(CGRect) (Inherited from NSView)
ConvertRectFromLayer(CGRect) (Inherited from NSView)
ConvertRectFromView(CGRect, NSView) (Inherited from NSView)
ConvertRectToBacking(CGRect) (Inherited from NSView)
ConvertRectToBase(CGRect) (Inherited from NSView)
ConvertRectToLayer(CGRect) (Inherited from NSView)
ConvertRectToView(CGRect, NSView) (Inherited from NSView)
ConvertSizeFromBacking(CGSize) (Inherited from NSView)
ConvertSizeFromBase(CGSize) (Inherited from NSView)
ConvertSizeFromLayer(CGSize) (Inherited from NSView)
ConvertSizeFromView(CGSize, NSView) (Inherited from NSView)
ConvertSizeToBacking(CGSize) (Inherited from NSView)
ConvertSizeToBase(CGSize) (Inherited from NSView)
ConvertSizeToLayer(CGSize) (Inherited from NSView)
ConvertSizeToView(CGSize, NSView) (Inherited from NSView)
Copy()

Performs a copy of the underlying Objective-C object.

(Inherited from NSObject)
CursorUpdate(NSEvent) (Inherited from NSResponder)
DangerousAutorelease() (Inherited from NSObject)
DangerousRelease() (Inherited from NSObject)
DangerousRetain() (Inherited from NSObject)
DataWithEpsInsideRect(CGRect) (Inherited from NSView)
DataWithPdfInsideRect(CGRect) (Inherited from NSView)
DidAddSubview(NSView) (Inherited from NSView)
DidChange(NSKeyValueChange, NSIndexSet, NSString)

Indicates a change occurred to the indexes for a to-many relationship.

(Inherited from NSObject)
DidChange(NSString, NSKeyValueSetMutationKind, NSSet) (Inherited from NSObject)
DidChangeBackingProperties() (Inherited from NSView)
DidChangeValue(String)

Indicates that a change occurred on the specified key.

(Inherited from NSObject)
DidCloseMenu(NSMenu, NSEvent) (Inherited from NSView)
DiscardCursorRects() (Inherited from NSView)
Display() (Inherited from NSView)
DisplayIfNeeded() (Inherited from NSView)
DisplayIfNeededIgnoringOpacity() (Inherited from NSView)
DisplayIfNeededInRect(CGRect) (Inherited from NSView)
DisplayIfNeededInRectIgnoringOpacity(CGRect) (Inherited from NSView)
DisplayRect(CGRect) (Inherited from NSView)
DisplayRectIgnoringOpacity(CGRect) (Inherited from NSView)
DisplayRectIgnoringOpacity(CGRect, NSGraphicsContext) (Inherited from NSView)
Dispose()

Releases the resources used by the NSObject object.

(Inherited from NSObject)
Dispose(Boolean)

Releases the resources used by the WKWebView object.

DoesNotRecognizeSelector(Selector)

Indicates that this object does not recognize the specified selector.

(Inherited from NSObject)
DragFile(String, CGRect, Boolean, NSEvent) (Inherited from NSView)
DraggingEnded(NSDraggingInfo) (Inherited from NSView)
DraggingEntered(NSDraggingInfo) (Inherited from NSView)
DraggingExited(NSDraggingInfo) (Inherited from NSView)
DraggingUpdated(NSDraggingInfo) (Inherited from NSView)
DragImage(NSImage, CGPoint, CGSize, NSEvent, NSPasteboard, NSObject, Boolean) (Inherited from NSView)
DragPromisedFilesOfTypes(String[], CGRect, NSObject, Boolean, NSEvent) (Inherited from NSView)
DrawFocusRingMask() (Inherited from NSView)
DrawPageBorder(CGSize) (Inherited from NSView)
DrawRect(CGRect) (Inherited from NSView)
DrawSheetBorder(CGSize) (Inherited from NSView)
EncodeRestorableState(NSCoder) (Inherited from NSResponder)
EncodeRestorableState(NSCoder, NSOperationQueue) (Inherited from NSResponder)
EncodeTo(NSCoder) (Inherited from NSResponder)
EndDocument() (Inherited from NSView)
EndGestureWithEvent(NSEvent) (Inherited from NSResponder)
EndPage() (Inherited from NSView)
EnterFullscreenModeWithOptions(NSScreen, NSDictionary) (Inherited from NSView)
Equals(NSObject) (Inherited from NSObject)
Equals(Object) (Inherited from NSObject)
EvaluateJavaScript(NSString, WKJavascriptEvaluationResult)

Evaluates the given JavaScript string.

EvaluateJavaScript(String, WKJavascriptEvaluationResult)

Evaluates JavaScript and calls back into C# with the results.

EvaluateJavaScriptAsync(NSString)

Evaluates the given JavaScript string.

EvaluateJavaScriptAsync(String)

Evaluates the given JavaScript string.

ExerciseAmbiguityInLayout() (Inherited from NSView)
ExitFullscreenModeWithOptions(NSDictionary) (Inherited from NSView)
ExposedBindings() (Inherited from NSObject)
FlagsChanged(NSEvent) (Inherited from NSResponder)
FlushBufferedKeyEvents() (Inherited from NSResponder)
GetAccessibilityActionDescription(NSString) (Inherited from NSView)
GetAccessibilityArrayAttributeCount(NSString) (Inherited from NSView)
GetAccessibilityArrayAttributeValues(NSString, nuint, nuint) (Inherited from NSView)
GetAccessibilityAttributedString(NSRange) (Inherited from NSView)
GetAccessibilityCellForColumn(nint, nint) (Inherited from NSView)
GetAccessibilityFocusedUIElement() (Inherited from NSView)
GetAccessibilityFrame(NSRange) (Inherited from NSView)
GetAccessibilityHitTest(CGPoint) (Inherited from NSView)
GetAccessibilityIndexOfChild(NSObject) (Inherited from NSView)
GetAccessibilityLayoutForScreen(CGPoint) (Inherited from NSView)
GetAccessibilityLayoutForScreen(CGSize) (Inherited from NSView)
GetAccessibilityLine(nint) (Inherited from NSView)
GetAccessibilityRange(CGPoint) (Inherited from NSView)
GetAccessibilityRange(nint) (Inherited from NSView)
GetAccessibilityRangeForLine(nint) (Inherited from NSView)
GetAccessibilityRtf(NSRange) (Inherited from NSView)
GetAccessibilityScreenForLayout(CGPoint) (Inherited from NSView)
GetAccessibilityScreenForLayout(CGSize) (Inherited from NSView)
GetAccessibilityString(NSRange) (Inherited from NSView)
GetAccessibilityStyleRange(nint) (Inherited from NSView)
GetAccessibilityValue(NSString) (Inherited from NSView)
GetAccessibilityValue(NSString, NSObject) (Inherited from NSView)
GetAlignmentRectForFrame(CGRect) (Inherited from NSView)
GetAppearance(UITraitCollection)

Gets the appearance for the provided trait collection.

GetAppearance(UITraitCollection, Type[])

Gets the appearance for the provided trait collection and containers.

GetAppearance<T>()

Obtains the appearance proxy WKWebView.WKWebViewAppearance for the subclass of WKWebView.

GetAppearance<T>(UITraitCollection)

Obtains the appearance proxy WKWebView.WKWebViewAppearance for the subclass of WKWebView.

GetAppearance<T>(UITraitCollection, Type[])

Obtains the appearance proxy WKWebView.WKWebViewAppearance for the subclass of WKWebView that has the specified trait collection when the view is hosted in the specified hierarchy.

GetBindingInfo(NSString) (Inherited from NSObject)
GetBindingOptionDescriptions(NSString) (Inherited from NSObject)
GetBindingValueClass(NSString) (Inherited from NSObject)
GetConstraintsAffectingLayout(NSLayoutConstraintOrientation) (Inherited from NSView)
GetContentCompressionResistancePriority(NSLayoutConstraintOrientation) (Inherited from NSView)
GetContentHuggingPriorityForOrientation(NSLayoutConstraintOrientation) (Inherited from NSView)
GetDictionaryOfValuesFromKeys(NSString[])

Retrieves the values of the specified keys.

(Inherited from NSObject)
GetFrameForAlignmentRect(CGRect) (Inherited from NSView)
GetHashCode()

Generates a hash code for the current instance.

(Inherited from NSObject)
GetMethodForSelector(Selector) (Inherited from NSObject)
GetNativeField(String) (Inherited from NSObject)
GetNativeHash() (Inherited from NSObject)
GetNewWindowForTab(NSObject) (Inherited from NSResponder)
GoBack()

Navigates to the back item in the back-forward list.

GoForward()

Navigates to the forward item in the back-forward list.

GoTo(WKBackForwardListItem)

Navigates to an item from the back-forward list and sets it as the current item.

GState() (Inherited from NSView)
HandlesUrlScheme(String)

Returns true if the web view has a handler for the specified url scheme.

HelpRequested(NSEvent) (Inherited from NSResponder)
HitTest(CGPoint) (Inherited from NSView)
Init() (Inherited from NSObject)
InitializeHandle(IntPtr) (Inherited from NSObject)
InitializeHandle(IntPtr, String) (Inherited from NSObject)
InterpretKeyEvents(NSEvent[]) (Inherited from NSResponder)
InvalidateIntrinsicContentSize() (Inherited from NSView)
InvalidateRestorableState() (Inherited from NSResponder)
Invoke(Action, Double) (Inherited from NSObject)
Invoke(Action, TimeSpan) (Inherited from NSObject)
InvokeOnMainThread(Action) (Inherited from NSObject)
InvokeOnMainThread(Selector, NSObject)

Invokes synchrously the specified code on the main UI thread.

(Inherited from NSObject)
IsAccessibilityAttributeSettable(NSString) (Inherited from NSView)
IsAccessibilitySelectorAllowed(Selector) (Inherited from NSView)
IsDescendantOf(NSView) (Inherited from NSView)
IsEqual(NSObject) (Inherited from NSObject)
IsKindOfClass(Class) (Inherited from NSObject)
IsMemberOfClass(Class) (Inherited from NSObject)
IsMouseInRect(CGPoint, CGRect) (Inherited from NSView)
KeyDown(NSEvent) (Inherited from NSResponder)
KeyUp(NSEvent) (Inherited from NSResponder)
KnowsPageRange(NSRange) (Inherited from NSView)
Layout() (Inherited from NSView)
LayoutSubtreeIfNeeded() (Inherited from NSView)
LoadData(NSData, String, String, NSUrl)

Loads the specified data and sets a base URL for resolving relative links.

LoadFileUrl(NSUrl, NSUrl)

Loads the Web page with the contents of the specified file.

LoadHtmlString(NSString, NSUrl)

Loads the specified HTML as the contents of the Web page.

LoadHtmlString(String, NSUrl)
LoadRequest(NSUrlRequest)

Navigates to a requested URL.

LocationOfPrintRect(CGRect) (Inherited from NSView)
LockFocus() (Inherited from NSView)
LockFocusIfCanDraw() (Inherited from NSView)
LockFocusIfCanDrawInContext(NSGraphicsContext) (Inherited from NSView)
MagnifyWithEvent(NSEvent) (Inherited from NSResponder)
MakeBackingLayer() (Inherited from NSView)
MarkDirty()

Promotes a regular peer object (IsDirectBinding is true) into a toggleref object.

(Inherited from NSObject)
MenuForEvent(NSEvent) (Inherited from NSView)
MouseDown(NSEvent) (Inherited from NSResponder)
MouseDragged(NSEvent) (Inherited from NSResponder)
MouseEntered(NSEvent) (Inherited from NSResponder)
MouseExited(NSEvent) (Inherited from NSResponder)
MouseMoved(NSEvent) (Inherited from NSResponder)
MouseUp(NSEvent) (Inherited from NSResponder)
MutableCopy()

Creates a mutable copy of the specified NSObject.

(Inherited from NSObject)
NeedsToDraw(CGRect) (Inherited from NSView)
NoResponderFor(Selector) (Inherited from NSResponder)
NoteFocusRingMaskChanged() (Inherited from NSView)
ObjectDidEndEditing(NSObject) (Inherited from NSObject)
ObserveValue(NSString, NSObject, NSDictionary, IntPtr)

Indicates that the value at the specified keyPath relative to this object has changed.

(Inherited from NSObject)
OtherMouseDown(NSEvent) (Inherited from NSResponder)
OtherMouseDragged(NSEvent) (Inherited from NSResponder)
OtherMouseUp(NSEvent) (Inherited from NSResponder)
PerformDragOperation(NSDraggingInfo) (Inherited from NSView)
PerformKeyEquivalent(NSEvent) (Inherited from NSView)
PerformMnemonic(String) (Inherited from NSView)
PerformSelector(Selector) (Inherited from NSObject)
PerformSelector(Selector, NSObject) (Inherited from NSObject)
PerformSelector(Selector, NSObject, Double)

Invokes the selector on the current instance and if the obj is not null, it passes this as its single parameter.

(Inherited from NSObject)
PerformSelector(Selector, NSObject, Double, NSString[]) (Inherited from NSObject)
PerformSelector(Selector, NSObject, NSObject) (Inherited from NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean) (Inherited from NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean, NSString[]) (Inherited from NSObject)
PrepareContentInRect(CGRect) (Inherited from NSView)
PrepareForDragOperation(NSDraggingInfo) (Inherited from NSView)
PrepareForInterfaceBuilder() (Inherited from NSObject)
PrepareForReuse() (Inherited from NSView)
PresentError(NSError) (Inherited from NSResponder)
PresentError(NSError, NSWindow, NSObject, Selector, IntPtr) (Inherited from NSResponder)
PressureChange(NSEvent) (Inherited from NSResponder)
Print(NSObject) (Inherited from NSView)
QuickLook(NSEvent) (Inherited from NSResponder)
RectForPage(nint) (Inherited from NSView)
RectForSmartMagnificationAtPoint(CGPoint, CGRect) (Inherited from NSView)
RegisteredDragTypes() (Inherited from NSView)
RegisterForDraggedTypes(String[]) (Inherited from NSView)
ReleaseGState() (Inherited from NSView)
Reload()

Reloads the current page.

ReloadFromOrigin()

Reloads the current page, performing end-to-end revalidation using cache-validating conditionals if possible.

RemoveAllToolTips() (Inherited from NSView)
RemoveConstraint(NSLayoutConstraint) (Inherited from NSView)
RemoveConstraints(NSLayoutConstraint[]) (Inherited from NSView)
RemoveCursorRect(CGRect, NSCursor) (Inherited from NSView)
RemoveFromSuperview() (Inherited from NSView)
RemoveFromSuperviewWithoutNeedingDisplay() (Inherited from NSView)
RemoveGestureRecognizer(NSGestureRecognizer) (Inherited from NSView)
RemoveLayoutGuide(NSLayoutGuide) (Inherited from NSView)
RemoveObserver(NSObject, NSString)

Stops the specified observer from receiving further notifications of changed values for the specified keyPath.

(Inherited from NSObject)
RemoveObserver(NSObject, NSString, IntPtr)

Stops the specified observer from receiving further notifications of changed values for the specified keyPath and context.

(Inherited from NSObject)
RemoveObserver(NSObject, String)

Stops the specified observer from receiving further notifications of changed values for the specified keyPath.

(Inherited from NSObject)
RemoveObserver(NSObject, String, IntPtr)

Stops the specified observer from receiving further notifications of changed values for the specified keyPath and context.

(Inherited from NSObject)
RemoveToolTip(nint) (Inherited from NSView)
RemoveTrackingArea(NSTrackingArea) (Inherited from NSView)
RemoveTrackingRect(nint) (Inherited from NSView)
RenewGState() (Inherited from NSView)
ReplaceSubviewWith(NSView, NSView) (Inherited from NSView)
ResetCursorRects() (Inherited from NSView)
ResignFirstResponder() (Inherited from NSResponder)
ResizeSubviewsWithOldSize(CGSize) (Inherited from NSView)
ResizeWithOldSuperviewSize(CGSize) (Inherited from NSView)
RespondsToSelector(Selector)

Whether this object recognizes the specified selector.

(Inherited from NSObject)
RestoreState(NSCoder) (Inherited from NSResponder)
RestoreUserActivityState(NSUserActivity) (Inherited from NSResponder)
RightMouseDown(NSEvent) (Inherited from NSResponder)
RightMouseDragged(NSEvent) (Inherited from NSResponder)
RightMouseUp(NSEvent) (Inherited from NSResponder)
RotateByAngle(nfloat) (Inherited from NSView)
RotateWithEvent(NSEvent) (Inherited from NSResponder)
ScaleUnitSquareToSize(CGSize) (Inherited from NSView)
ScrollPoint(CGPoint) (Inherited from NSView)
ScrollRect(CGRect, CGSize) (Inherited from NSView)
ScrollRectToVisible(CGRect) (Inherited from NSView)
ScrollWheel(NSEvent) (Inherited from NSResponder)
SetAccessibilityValue(NSString, NSObject) (Inherited from NSView)
SetBoundsOrigin(CGPoint) (Inherited from NSView)
SetBoundsSize(CGSize) (Inherited from NSView)
SetContentCompressionResistancePriority(Single, NSLayoutConstraintOrientation) (Inherited from NSView)
SetContentHuggingPriorityForOrientation(Single, NSLayoutConstraintOrientation) (Inherited from NSView)
SetFrameOrigin(CGPoint) (Inherited from NSView)
SetFrameSize(CGSize) (Inherited from NSView)
SetKeyboardFocusRingNeedsDisplay(CGRect) (Inherited from NSView)
SetMagnification(nfloat, CGPoint)
SetNativeField(String, NSObject) (Inherited from NSObject)
SetNeedsDisplayInRect(CGRect) (Inherited from NSView)
SetNilValueForKey(NSString)

Sets the value of the specified key to null.

(Inherited from NSObject)
SetUpGState() (Inherited from NSView)
SetValueForKey(NSObject, NSString)

Sets the value of the property specified by the key to the specified value.

(Inherited from NSObject)
SetValueForKeyPath(IntPtr, NSString)

A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

(Inherited from NSObject)
SetValueForKeyPath(NSObject, NSString)

Sets the value of a property that can be reached using a keypath.

(Inherited from NSObject)
SetValueForUndefinedKey(NSObject, NSString)

Indicates an attempt to write a value to an undefined key. If not overridden, raises an NSUndefinedKeyException.

(Inherited from NSObject)
SetValuesForKeysWithDictionary(NSDictionary)

Sets the values of this NSObject to those in the specified dictionary.

(Inherited from NSObject)
ShouldBeTreatedAsInkEvent(NSEvent) (Inherited from NSResponder)
ShouldDelayWindowOrderingForEvent(NSEvent) (Inherited from NSView)
ShowContextHelp(NSObject) (Inherited from NSResponder)
SmartMagnify(NSEvent) (Inherited from NSResponder)
StopLoading()

Stops loading all resources on the current page.

SupplementalTargetForAction(Selector, NSObject) (Inherited from NSResponder)
SwipeWithEvent(NSEvent) (Inherited from NSResponder)
TabletPoint(NSEvent) (Inherited from NSResponder)
TabletProximity(NSEvent) (Inherited from NSResponder)
TakeSnapshot(WKSnapshotConfiguration, Action<NSImage,NSError>)
TakeSnapshot(WKSnapshotConfiguration, Action<UIImage,NSError>)

Takes a snapshot of the current viewport and runs a handler that takes the resulting image and any error encountered.

TakeSnapshotAsync(WKSnapshotConfiguration)

Asynchronously takes a snapshot of the current viewport.

ToString()

Returns a string representation of the value of the current instance.

(Inherited from NSObject)
TouchesBeganWithEvent(NSEvent) (Inherited from NSResponder)
TouchesCancelledWithEvent(NSEvent) (Inherited from NSResponder)
TouchesEndedWithEvent(NSEvent) (Inherited from NSResponder)
TouchesMovedWithEvent(NSEvent) (Inherited from NSResponder)
TrackingAreas() (Inherited from NSView)
TranslateOriginToPoint(CGPoint) (Inherited from NSView)
TranslateRectsNeedingDisplay(CGRect, CGSize) (Inherited from NSView)
TryToPerformwith(Selector, NSObject) (Inherited from NSResponder)
Unbind(NSString) (Inherited from NSObject)
Unbind(String) (Inherited from NSObject)
UnlockFocus() (Inherited from NSView)
UnregisterDraggedTypes() (Inherited from NSView)
UpdateConstraints() (Inherited from NSView)
UpdateConstraintsForSubtreeIfNeeded() (Inherited from NSView)
UpdateLayer() (Inherited from NSView)
UpdateTrackingAreas() (Inherited from NSView)
UpdateUserActivityState(NSUserActivity) (Inherited from NSResponder)
ValidateUserInterfaceItem(INSValidatedUserInterfaceItem)
ValidRequestorForSendType(String, String) (Inherited from NSResponder)
ValueForKey(NSString)

Returns the value of the property associated with the specified key.

(Inherited from NSObject)
ValueForKeyPath(NSString)

Returns the value of a property that can be reached using a keypath.

(Inherited from NSObject)
ValueForUndefinedKey(NSString)

Indicates an attempt to read a value of an undefined key. If not overridden, raises an NSUndefinedKeyException.

(Inherited from NSObject)
ViewDidChangeEffectiveAppearance() (Inherited from NSView)
ViewDidEndLiveResize() (Inherited from NSView)
ViewDidHide() (Inherited from NSView)
ViewDidMoveToSuperview() (Inherited from NSView)
ViewDidMoveToWindow() (Inherited from NSView)
ViewDidUnhide() (Inherited from NSView)
ViewWillDraw() (Inherited from NSView)
ViewWillMoveToSuperview(NSView) (Inherited from NSView)
ViewWillMoveToWindow(NSWindow) (Inherited from NSView)
ViewWillStartLiveResize() (Inherited from NSView)
ViewWithTag(nint) (Inherited from NSView)
VisibleRect() (Inherited from NSView)
WantsForwardedScrollEventsForAxis(NSEventGestureAxis) (Inherited from NSResponder)
WantsScrollEventsForSwipeTrackingOnAxis(NSEventGestureAxis) (Inherited from NSResponder)
WillChange(NSKeyValueChange, NSIndexSet, NSString)

Indicates that the values of the specified indices in the specified key are about to change.

(Inherited from NSObject)
WillChange(NSString, NSKeyValueSetMutationKind, NSSet) (Inherited from NSObject)
WillChangeValue(String)

Indicates that the value of the specified key is about to change.

(Inherited from NSObject)
WillOpenMenu(NSMenu, NSEvent) (Inherited from NSView)
WillPresentError(NSError) (Inherited from NSResponder)
WillRemoveSubview(NSView) (Inherited from NSView)
WriteEpsInsideRect(CGRect, NSPasteboard) (Inherited from NSView)
WritePdfInsideRect(CGRect, NSPasteboard) (Inherited from NSView)

Extension Methods

GetAccessibilityChildrenInNavigationOrder(INSAccessibility)
GetAccessibilityCustomActions(INSAccessibility)
GetAccessibilityCustomRotors(INSAccessibility)
GetAccessibilityRequired(INSAccessibility)
SetAccessibilityChildrenInNavigationOrder(INSAccessibility, NSAccessibilityElement[])
SetAccessibilityCustomActions(INSAccessibility, NSAccessibilityCustomAction[])
SetAccessibilityCustomRotors(INSAccessibility, NSAccessibilityCustomRotor[])
SetAccessibilityRequired(INSAccessibility, Boolean)
GetAccessibilityFocused(INSAccessibilityElementProtocol)
GetAccessibilityIdentifier(INSAccessibilityElementProtocol)
GetAppearance(INSAppearanceCustomization)
GetEffectiveAppearance(INSAppearanceCustomization)
SetAppearance(INSAppearanceCustomization, NSAppearance)
ValidateProposedFirstResponder(NSResponder, NSResponder, NSEvent)
ConcludeDragOperation(INSDraggingDestination, NSDraggingInfo)
DraggingEnded(INSDraggingDestination, NSDraggingInfo)
DraggingEntered(INSDraggingDestination, NSDraggingInfo)
DraggingExited(INSDraggingDestination, NSDraggingInfo)
DraggingUpdated(INSDraggingDestination, NSDraggingInfo)
GetWantsPeriodicDraggingUpdates(INSDraggingDestination)
PerformDragOperation(INSDraggingDestination, NSDraggingInfo)
PrepareForDragOperation(INSDraggingDestination, NSDraggingInfo)
ObjectDidBeginEditing(NSObject, INSEditor)
ObjectDidEndEditing(NSObject, INSEditor)
GetValidModes(NSObject, NSFontPanel)
ValidateToolbarItem(NSObject, NSToolbarItem)
GetTouchBar(NSResponder)
MakeTouchBar(NSResponder)
SetTouchBar(NSResponder, NSTouchBar)
RulerViewLocation(NSView, NSRulerView, CGPoint)
RulerViewPoint(NSView, NSRulerView, nfloat)
QuickLookPreviewItems(NSResponder, NSObject)
PerformTextFinderAction(NSResponder, NSObject)
GetIdentifier(INSUserInterfaceItemIdentification)
SetIdentifier(INSUserInterfaceItemIdentification, String)
GetCandidateListTouchBarItem(NSView)
GetAllowedTouchTypes(NSView)
SetAllowedTouchTypes(NSView, NSTouchTypeMask)
GetDebugDescription(INSObjectProtocol)
AcceptsPreviewPanelControl(NSObject, QLPreviewPanel)
BeginPreviewPanelControl(NSObject, QLPreviewPanel)
EndPreviewPanelControl(NSObject, QLPreviewPanel)
GetAccessibilityCustomRotors(NSObject)

Gets the array of UIAccessibilityCustomRotor objects appropriate for this object.

SetAccessibilityCustomRotors(NSObject, UIAccessibilityCustomRotor[])

Sets the array of UIAccessibilityCustomRotor objects appropriate for this object.

Applies to

See also