The following tables list the members exposed by DragSource.
Name | Description | |
---|---|---|
DragSource Constructor | Initializes a new instance of the DragSource class. |
Name | Description | |
---|---|---|
CopyCursorTemplateProperty | Identifies the CopyCursorTemplate dependency property. | |
DataObjectProperty | Identifies the DataObject dependency property. | |
DragChannelsProperty | Identifies the DragChannels dependency property. | |
DragTemplateProperty | Identifies the DragTemplate dependency property. | |
DropNotAllowedCursorTemplateProperty | Identifies the DropNotAllowedCursorTemplate dependency property. | |
IsDraggableProperty | Identifies the IsDraggable dependency property. | |
MoveCursorTemplateProperty | Identifies the MoveCursorTemplate dependency property. |
Name | Description | |
---|---|---|
AssociatedObject | Gets the UIElement associated with this DragSource object. | |
CopyCursorTemplate | Gets or sets the data template used as a cursor while copy operation is performed during drag-and-drop operation. This is a dependency property. | |
DataObject | Gets or sets the object that hold the meaningful for the drag-and-drop operation data. | |
DependencyObjectType | Gets the System.Windows.DependencyObjectType that wraps the CLR type of this instance. (Inherited from System.Windows.DependencyObject) | |
Dispatcher | Gets the System.Windows.Threading.Dispatcher this System.Windows.Threading.DispatcherObject is associated with. (Inherited from System.Windows.Threading.DispatcherObject) | |
DragChannels | Gets or sets the channels that object can be dragged into. This is a dependency property. | |
DraggingOffset | Gets or sets the drag mouse offset after which dragging is initiated. The default and minimal value is 2 pixels. | |
DragTemplate | Gets or sets data template used by dragged element while drag-and-drop operation is performed. This is a dependency property. | |
DropNotAllowedCursorTemplate | Gets or sets the data template used as a cursor if there drop target is not found during drag-and-drop operation. This is a dependency property. | |
FindDropTargetMode | Gets or sets the find drop target mode. | |
IsDraggable | Gets or sets a value indicating whether marked element can be dragged. This is a dependency property. | |
IsSealed | Gets a value that indicates whether this instance is currently sealed (read-only). (Inherited from System.Windows.DependencyObject) | |
MoveCursorTemplate | Gets or sets the data template used as a cursor during regular drag-and-drop operation. This is a dependency property. |
Name | Description | |
---|---|---|
ClearValue | Overloaded. Clears the local value of a property. The property to be cleared is specified by a System.Windows.DependencyProperty identifier. (Inherited from System.Windows.DependencyObject) | |
CoerceValue | Coerces the value of the specified dependency property. This is accomplished by invoking any System.Windows.CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject) | |
Equals | (Inherited from System.Windows.DependencyObject) | |
GetHashCode | Gets a hash code for this System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject) | |
GetLocalValueEnumerator | Creates a specialized enumerator for determining which dependency properties have locally set values on this System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject) | |
GetValue | Returns the current effective value of a dependency property on this instance of a System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject) | |
InvalidateProperty | (Inherited from System.Windows.DependencyObject) | |
ReadLocalValue | Returns the local value of a dependency property, if it exists. (Inherited from System.Windows.DependencyObject) | |
SetCurrentValue | (Inherited from System.Windows.DependencyObject) | |
SetValue | Overloaded. Sets the local value of a dependency property, specified by its dependency property identifier. (Inherited from System.Windows.DependencyObject) |
Name | Description | |
---|---|---|
OnPropertyChanged | Invoked whenever the effective value of any dependency property on this System.Windows.DependencyObject has been updated. The specific dependency property that changed is reported in the event data. (Inherited from System.Windows.DependencyObject) | |
ShouldSerializeProperty | Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property. (Inherited from System.Windows.DependencyObject) |
Name | Description | |
---|---|---|
DragCancel | Occurs when drag-and-drop operation is canceled when DragDropCancelEventArgs.Cancel is set to true in some of event handlers for DragStart or DragEnter events or when DragDropManager.EndDrag method is called with dragCancel set to true. | |
DragEnd | Occurs at the very end of the drag-and-drop operation. This is the last event that is raised while drag-and-drop is performed. | |
DragEnter | Occurs when mouse pointer enter into UIElement marked as drop target while drag-and-drop is in progress. This event is cancelable. | |
DragLeave | Occurs when mouse pointer leaves the boundaries of the UIElement marked as drop target while drag-and-drop operation is in progress. | |
DragOver | Occurs when mouse pointer is moving over UIElement marked as drop target while drag-and-drop operation is in progress. This event occurs after DragEnter event is raised. | |
DragStart | Occurs when UIElement marked as draggable initiate drag operation. This event is cancelable. | |
Drop | Occurs when mouse is released while drag-and-drop operation is in progress, mouse pointer is over UIElement marked as drop target and drag channels of the drag source matches the drop channels of the drop target. |