NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

RichTextBox DragDrop Event

[To be supplied.]

The following declaration shows the syntax for a method that handles the DragDrop event.

[Visual Basic]
Private Sub RichTextBoxName_DragDrop( _
   ByVal sender As Object, _
   ByVal e As DragEventArgs _
)
[C#]
private void RichTextBoxName_DragDrop(
   object sender,
   DragEventArgs e
);
[C++]
private: void RichTextBoxName_DragDrop(
   Object* sender,
   DragEventArgs* e
);
[JScript]
private RichTextBoxName_DragDrop(
   sender : Object,
   e : DragEventArgs
);

Parameters

sender
The source of the event.
e
A DragEventArgs that contains the event data. The following DragEventArgs properties provide information specific to this event.
Property Description
AllowedEffect
Gets which drag-and-drop operations are allowed by the originator (or source) of the drag event.
Data
The IDataObject that contains the data associated with this event.
Effect
Gets or sets which drag-and-drop operations are allowed by the target of the drag event.
KeyState
Gets the current state of the SHIFT, CTRL, and ALT keys.
X
Gets the x-coordinate of the mouse pointer.
Y
Gets the y-coordinate of the mouse pointer.

See Also

RichTextBox Class | RichTextBox MembersTopic | System.WinForms Namespace