Version

DropTarget Class Members

The following tables list the members exposed by DropTarget.

Public Constructors
 NameDescription
Public ConstructorDropTarget ConstructorInitializes a new instance of the DropTarget class.  
Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)DropChannelsPropertyIdentifies the DropChannels dependency property.  
Public Fieldstatic (Shared in Visual Basic)DropTargetMarkerBrushPropertyIdentifies the DropTargetMarkerBrush dependency property.  
Public Fieldstatic (Shared in Visual Basic)DropTargetStylePropertyIdentifies the DropTargetStyle dependency property.  
Public Fieldstatic (Shared in Visual Basic)IsDropTargetPropertyIdentifies the IsDropTarget dependency property.  
Public Properties
 NameDescription
Public PropertyAssociatedObjectGets the UIElement associated with this DropTarget object.  
Public PropertyDependencyObjectTypeGets the System.Windows.DependencyObjectType that wraps the CLR type of this instance. (Inherited from System.Windows.DependencyObject)
Public PropertyDispatcherGets the System.Windows.Threading.Dispatcher this System.Windows.Threading.DispatcherObject is associated with. (Inherited from System.Windows.Threading.DispatcherObject)
Public PropertyDropChannelsGets or sets the channels that drop target is listening to. This is a dependency property.  
Public PropertyDropTargetMarkerBrushGets or sets the brush used to fill shape that marks the drop target. The default brush color is Transparent. This property is relevant just when DropTargetStyle is null. This is a dependency property.  
Public PropertyDropTargetStyleGets or sets style used by the drop target when dragged item is over it. This is a dependency property.  
Public PropertyHighlightOnDragStartGets or sets a value indicating whether drop target element should be highlighted when drag source element with appropriate DragChannels is dragged.  
Public PropertyIsDropTargetGets or sets a value indicating whether marked element can be drop target. This is a dependency property.  
Public PropertyIsSealedGets a value that indicates whether this instance is currently sealed (read-only). (Inherited from System.Windows.DependencyObject)
Public Methods
 NameDescription
Public MethodClearValueOverloaded. 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)
Public MethodCoerceValueCoerces 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)
Public MethodEquals (Inherited from System.Windows.DependencyObject)
Public MethodGetHashCodeGets a hash code for this System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
Public MethodGetLocalValueEnumeratorCreates a specialized enumerator for determining which dependency properties have locally set values on this System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
Public MethodGetValueReturns the current effective value of a dependency property on this instance of a System.Windows.DependencyObject. (Inherited from System.Windows.DependencyObject)
Public MethodHighlightDropTargetHighlights the drop target as apply DropTargetStyle to the AssociatedObject.  
Public MethodInvalidateProperty (Inherited from System.Windows.DependencyObject)
Public MethodReadLocalValueReturns the local value of a dependency property, if it exists. (Inherited from System.Windows.DependencyObject)
Public MethodSetCurrentValue (Inherited from System.Windows.DependencyObject)
Public MethodSetValueOverloaded. Sets the local value of a dependency property, specified by its dependency property identifier. (Inherited from System.Windows.DependencyObject)
Protected Methods
 NameDescription
Protected MethodOnPropertyChangedInvoked 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)
Protected Internal MethodShouldSerializePropertyReturns a value that indicates whether serialization processes should serialize the value for the provided dependency property. (Inherited from System.Windows.DependencyObject)
See Also