MonobjcMonobjc Documented Class Library
WebView..::..WebViewShouldInsertNodeReplacingDOMRangeGivenActionEventHandler Delegate
NamespacesMonobjc.WebKitWebViewWebView..::..WebViewShouldInsertNodeReplacingDOMRangeGivenActionEventHandler

Returns whether the user should be allowed to insert a node in place of a range of content.

Original signature is '- (BOOL)webView:(WebView *)webView shouldInsertNode:(DOMNode *)node replacingDOMRange:(DOMRange *)range givenAction:(WebViewInsertAction)action'

Available in Mac OS X v10.3.9 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate bool WebViewShouldInsertNodeReplacingDOMRangeGivenActionEventHandler(
	WebView webView,
	IntPtr node,
	IntPtr range,
	WebViewInsertAction action
)
Public Delegate Function WebViewShouldInsertNodeReplacingDOMRangeGivenActionEventHandler ( _
	webView As WebView, _
	node As IntPtr, _
	range As IntPtr, _
	action As WebViewInsertAction _
) As Boolean
public delegate bool WebViewShouldInsertNodeReplacingDOMRangeGivenActionEventHandler(
	WebView^ webView, 
	IntPtr node, 
	IntPtr range, 
	WebViewInsertAction action
)
Parameters
webView (WebView)
The web view that the user is editing.
node (IntPtr)
The content to insert.
range (IntPtr)
The portion of the content that is replaced with node.
action (WebViewInsertAction)
Indicates the type of user action that initiated the insertion.
Return Value
YES if the user should be allowed to insert node in webView; otherwise, NO.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.WebKit (Module: Monobjc.WebKit)