MonobjcMonobjc Documented Class Library
WebViewShouldApplyStyleToElementsInDOMRangeMessage Method (webView, style, range)
NamespacesMonobjc.WebKitWebView..::..WebEditingDelegateEventDispatcherWebViewShouldApplyStyleToElementsInDOMRangeMessage(WebView, IntPtr, IntPtr)

Returns whether the user should be allowed to apply a style to a range of content.

Original signature is '- (BOOL)webView:(WebView *)webView shouldApplyStyle:(DOMCSSStyleDeclaration *)style toElementsInDOMRange:(DOMRange *)range'

Available in Mac OS X v10.3.9 and later.

Declaration Syntax
C#Visual BasicVisual C++
public bool WebViewShouldApplyStyleToElementsInDOMRangeMessage(
	WebView webView,
	IntPtr style,
	IntPtr range
)
Public Function WebViewShouldApplyStyleToElementsInDOMRangeMessage ( _
	webView As WebView, _
	style As IntPtr, _
	range As IntPtr _
) As Boolean
public:
bool WebViewShouldApplyStyleToElementsInDOMRangeMessage(
	WebView^ webView, 
	IntPtr style, 
	IntPtr range
)
Parameters
webView (WebView)
The web view that the user is editing.
style (IntPtr)
The style to apply.
range (IntPtr)
The range of the content.
Return Value
YES if the user should be allowed to apply the style to the content 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)