MonobjcMonobjc Documented Class Library
DragColorWithEventFromView Method (color, anEvent, sourceView)
NamespacesMonobjc.AppKitNSColorPanelDragColorWithEventFromView(NSColor, NSEvent, NSView)

Drags a color into a destination view from the specified source view.

Original signature is '+ (BOOL)dragColor:(NSColor *)color withEvent:(NSEvent *)anEvent fromView:(NSView *)sourceView'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static bool DragColorWithEventFromView(
	NSColor color,
	NSEvent anEvent,
	NSView sourceView
Public Shared Function DragColorWithEventFromView ( _
	color As NSColor, _
	anEvent As NSEvent, _
	sourceView As NSView _
) As Boolean
static bool DragColorWithEventFromView(
	NSColor^ color, 
	NSEvent^ anEvent, 
	NSView^ sourceView
color (NSColor)
The color to drag.
anEvent (NSEvent)
The drag event.
sourceView (NSView)
The view from which the color was dragged.
Return Value
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)