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

Returns whether the user should be allowed to change the selected range.

Original signature is '- (BOOL)webView:(WebView *)webView shouldChangeSelectedDOMRange:(DOMRange *)currentRange toDOMRange:(DOMRange *)proposedRange affinity:(NSSelectionAffinity)selectionAffinity stillSelecting:(BOOL)flag'

Available in Mac OS X v10.3.9 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate bool WebViewShouldChangeSelectedDOMRangeToDOMRangeAffinityStillSelectingEventHandler(
	WebView webView,
	IntPtr currentRange,
	IntPtr proposedRange,
	NSSelectionAffinity selectionAffinity,
	bool flag
)
Public Delegate Function WebViewShouldChangeSelectedDOMRangeToDOMRangeAffinityStillSelectingEventHandler ( _
	webView As WebView, _
	currentRange As IntPtr, _
	proposedRange As IntPtr, _
	selectionAffinity As NSSelectionAffinity, _
	flag As Boolean _
) As Boolean
public delegate bool WebViewShouldChangeSelectedDOMRangeToDOMRangeAffinityStillSelectingEventHandler(
	WebView^ webView, 
	IntPtr currentRange, 
	IntPtr proposedRange, 
	NSSelectionAffinity selectionAffinity, 
	bool flag
)
Parameters
webView (WebView)
The web view that the user is editing.
currentRange (IntPtr)
The old range the user wants to change.
proposedRange (IntPtr)
The new range the user wants to select.
selectionAffinity (NSSelectionAffinity)
The direction of the selection.
flag (Boolean)
YES if the user is still selecting; otherwise, NO.
Return Value
YES if the user is allowed to change the selected range; 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)