Returns whether the user should be allowed to change the typing style in a web view.
Original signature is '- (BOOL)webView:(WebView *)webView shouldChangeTypingStyle:(DOMCSSStyleDeclaration *)currentStyle toStyle:(DOMCSSStyleDeclaration *)proposedStyle'
Available in Mac OS X v10.3.9 and later.
Declaration Syntax
public bool WebViewShouldChangeTypingStyleToStyleMessage(
WebView webView,
IntPtr currentStyle,
IntPtr proposedStyle
)
Public Function WebViewShouldChangeTypingStyleToStyleMessage ( _
webView As WebView, _
currentStyle As IntPtr, _
proposedStyle As IntPtr _
) As Boolean
public:
bool WebViewShouldChangeTypingStyleToStyleMessage(
WebView^ webView,
IntPtr currentStyle,
IntPtr proposedStyle
)
Parameters
- webView (WebView)
- The web view that the user is editing.
- currentStyle (IntPtr)
- The old style the user wants to change.
- proposedStyle (IntPtr)
- The new style the user wants to set.
Return Value
YES if the user should be allowed to change the typing style in webView to proposedStyle; 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)