Returns whether a user should be allowed to insert text in place of a range of content.
Original signature is '- (BOOL)webView:(WebView *)webView shouldInsertText:(NSString *)text replacingDOMRange:(DOMRange *)range givenAction:(WebViewInsertAction)action'
Available in Mac OS X v10.3.9 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public event WebView..::..WebViewShouldInsertTextReplacingDOMRangeGivenActionEventHandler WebViewShouldInsertTextReplacingDOMRangeGivenAction
Public Event WebViewShouldInsertTextReplacingDOMRangeGivenAction As WebView..::..WebViewShouldInsertTextReplacingDOMRangeGivenActionEventHandler
public: event WebView..::..WebViewShouldInsertTextReplacingDOMRangeGivenActionEventHandler^ WebViewShouldInsertTextReplacingDOMRangeGivenAction { void add (WebView..::..WebViewShouldInsertTextReplacingDOMRangeGivenActionEventHandler^ value); void remove (WebView..::..WebViewShouldInsertTextReplacingDOMRangeGivenActionEventHandler^ value); }
Return Value
YES if the user should be allowed to insert text 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)