Метод | Описание | |
---|---|---|
DataConsumerBase ( string dataFormats ) : System |
Create a Data Consumer that supports the specified data formats
|
|
DropTarget_DragEnter ( object sender, System.Windows.DragEventArgs e ) : void |
Occurs when mouse enters the area occupied by the dropTarget (specified in the constructor). Provide your own method if you wish; making sure to define DragEnter in DataConsumerActions. See DropTarget_DragEnter in DropManager for additional comments.
|
|
DropTarget_DragLeave ( object sender, System.Windows.DragEventArgs e ) : void |
Occurs when mouse leaves the area occupied by the dropTarget (specified in the constructor). Provide your own method if you wish; making sure to define DragEnter in DataConsumerActions. See DropTarget_DragLeave in DropManager for additional comments.
|
|
DropTarget_DragOver ( object sender, System.Windows.DragEventArgs e ) : void |
Occurs when mouse is over the area occupied by the dropTarget (specified in the constructor). You must likely will provide your own method; make sure to define DragOver in DataConsumerActions.
|
|
DropTarget_Drop ( object sender, System.Windows.DragEventArgs e ) : void |
Occurs when the left mouse button is released in the area occupied by the dropTarget (specified in the constructor). You must likely will provide your own method; make sure to define Drop in DataConsumerActions. See DropTarget_DragEnter in DropManager for additional comments.
|
|
GetData ( System.Windows.DragEventArgs e ) : object |
Search the available data formats for a supported data format and return the first match
|
public DataConsumerBase ( string dataFormats ) : System | ||
dataFormats | string | Data formats supported by this data consumer |
Результат | System |
public DropTarget_DragEnter ( object sender, System.Windows.DragEventArgs e ) : void | ||
sender | object | Drag event sender |
e | System.Windows.DragEventArgs | DragEnter event arguments |
Результат | void |
public DropTarget_DragLeave ( object sender, System.Windows.DragEventArgs e ) : void | ||
sender | object | Drag event sender |
e | System.Windows.DragEventArgs | DragLeave event arguments |
Результат | void |
public DropTarget_DragOver ( object sender, System.Windows.DragEventArgs e ) : void | ||
sender | object | Drag event sender |
e | System.Windows.DragEventArgs | DragOver event arguments |
Результат | void |
public DropTarget_Drop ( object sender, System.Windows.DragEventArgs e ) : void | ||
sender | object | Drag event sender |
e | System.Windows.DragEventArgs | Drop event arguments |
Результат | void |
public GetData ( System.Windows.DragEventArgs e ) : object | ||
e | System.Windows.DragEventArgs | DragEventArgs from one of the four Drag events |
Результат | object |