MonobjcMonobjc Documented Class Library
RulerAccessoryViewForTextViewParagraphStyleRulerEnabled Method (view, style, ruler, isEnabled)
NamespacesMonobjc.AppKitNSLayoutManagerRulerAccessoryViewForTextViewParagraphStyleRulerEnabled(NSTextView, NSParagraphStyle, NSRulerView, Boolean)

Returns the the accessory view that the text system uses for its ruler.

Original signature is '- (NSView *)rulerAccessoryViewForTextView:(NSTextView *)view paragraphStyle:(NSParagraphStyle *)style ruler:(NSRulerView *)ruler enabled:(BOOL)isEnabled'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSView RulerAccessoryViewForTextViewParagraphStyleRulerEnabled(
	NSTextView view,
	NSParagraphStyle style,
	NSRulerView ruler,
	bool isEnabled
)
Public Overridable Function RulerAccessoryViewForTextViewParagraphStyleRulerEnabled ( _
	view As NSTextView, _
	style As NSParagraphStyle, _
	ruler As NSRulerView, _
	isEnabled As Boolean _
) As NSView
public:
virtual NSView^ RulerAccessoryViewForTextViewParagraphStyleRulerEnabled(
	NSTextView^ view, 
	NSParagraphStyle^ style, 
	NSRulerView^ ruler, 
	bool isEnabled
)
Parameters
view (NSTextView)
The text view using the layout manager.
style (NSParagraphStyle)
Sets the state of the controls in the accessory view; must not be nil.
ruler (NSRulerView)
The ruler view whose accessory view is returned.
isEnabled (Boolean)
If YES, the accessory view is enabled and accepts mouse and keyboard events; if NO it’s disabled.
Return Value
The accessory view containing tab wells, text alignment buttons, and so on.
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.AppKit (Module: Monobjc.AppKit)