MonobjcMonobjc Documented Class Library
DragSelectionWithEventOffsetSlideBack Method (event, mouseOffset, slideBack)
NamespacesMonobjc.AppKitNSTextViewDragSelectionWithEventOffsetSlideBack(NSEvent, NSSize, Boolean)

Begins dragging the current selected text range.

Original signature is '- (BOOL)dragSelectionWithEvent:(NSEvent *)event offset:(NSSize)mouseOffset slideBack:(BOOL)slideBack'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool DragSelectionWithEventOffsetSlideBack(
	NSEvent event,
	NSSize mouseOffset,
	bool slideBack
)
Public Overridable Function DragSelectionWithEventOffsetSlideBack ( _
	event As NSEvent, _
	mouseOffset As NSSize, _
	slideBack As Boolean _
) As Boolean
public:
virtual bool DragSelectionWithEventOffsetSlideBack(
	NSEvent^ event, 
	NSSize mouseOffset, 
	bool slideBack
)
Parameters
event (NSEvent)
The event that initiated dragging the selection.
mouseOffset (NSSize)
The cursor’s current location relative to the mouse-down event.
slideBack (Boolean)
YES if the image being dragged should slide back to its original position if the drag does not succeed, NO otherwise.
Return Value
YES if the drag can be successfully initiated, NO otherwise.
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)