PasteDragDropEventArgs Class
Provides arguments for the PasteDragDrop event.
public class PasteDragDropEventArgs : EventArgs
Constructors
PasteDragDropEventArgs(PasteDragDropAction, IDataStore, string?)
Initializes an instance of the class.
public PasteDragDropEventArgs(PasteDragDropAction action, IDataStore dataStore, string? text)
| Parameter | Type | Description |
|---|---|---|
| action | PasteDragDropAction | The PasteDragDropAction describing the action that is the source of the event. |
| dataStore | IDataStore | The IDataStore that contains the data set to the clipboard. |
| text | string | The text associated with the IDataStore. |
PasteDragDropEventArgs(PasteDragDropAction, DragEventArgs, string?)
Initializes an instance of the class.
public PasteDragDropEventArgs(PasteDragDropAction action, DragEventArgs dragEventArgs, string? text)
| Parameter | Type | Description |
|---|---|---|
| action | PasteDragDropAction | The PasteDragDropAction describing the action that is the source of the event. |
| dragEventArgs | DragEventArgs | The DragEventArgs that caused this event. |
| text | string | The text associated with the drag/drop. |
Properties
Action
The PasteDragDropAction describing the action that is the source of the event.
DataStore
The IDataStore that contains the data.
DragEventArgs
The DragEventArgs that caused this event, if this event was caused by a drag event.
public DragEventArgs? DragEventArgs { get; }
Property Value
Remarks
If this event was not caused by a drag operation, this property returns null.
Text
The text associated with the DataStore or drag/drop.
public string? Text { get; set; }
Property Value
Remarks
Set this value to null to indicate that no text is associated with the DataStore or drag/drop.
Inherited Members
- EventArgs.Empty
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()