AppKit.TextKit.Formatter.SourceTextViewDelegate.DraggedCell C# (CSharp) Method

DraggedCell() public method

Called when the cell is dragged.
Because a custom Delegate has been attached to the NSTextView, the normal events will not work so we are using this method to call custom AppKit.TextKit.Formatter.SourceTextView events instead.
public DraggedCell ( NSTextView view, NSTextAttachmentCell cell, CGRect rect, NSEvent theevent ) : void
view NSTextView
cell NSTextAttachmentCell The cell being acted upon.
rect CGRect
theevent NSEvent An event defining the drag operation.
return void
		public override void DraggedCell (NSTextView view, NSTextAttachmentCell cell, CGRect rect, NSEvent theevent)
		{
			// Pass through to Text Editor event
			TextEditor.RaiseSourceCellDragged(TextEditor, new NSTextViewDraggedCellEventArgs(cell, rect, theevent));
		}