Returns whether the user should be allowed to end editing.
Original signature is '- (BOOL)webView:(WebView *)webView shouldEndEditingInDOMRange:(DOMRange *)range'
Available in Mac OS X v10.3.9 and later.
Declaration Syntax
public delegate bool WebViewShouldEndEditingInDOMRangeEventHandler(
WebView webView,
IntPtr range
)
Public Delegate Function WebViewShouldEndEditingInDOMRangeEventHandler ( _
webView As WebView, _
range As IntPtr _
) As Boolean
public delegate bool WebViewShouldEndEditingInDOMRangeEventHandler(
WebView^ webView,
IntPtr range
)
Parameters
- webView (WebView)
- The web view that the user is editing.
- range (IntPtr)
- Typically, the current selection, although it might not be. Use the range parameter to help determine whether the user can end editing.
Return Value
YES if the user should be allowed to end editing webView; otherwise, NO. If this method returnsYES, webView ends editing and resigns as the first responder.
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)