Click or drag to resize

DropItemCollection Class

The drop item collection to attach on a control using the DropItemsProperty.
Inheritance Hierarchy

Namespace:  SniffCore.DragNDrop
Assembly:  SniffCore.DragNDrop (in SniffCore.DragNDrop.dll) Version: 0.5.0
Syntax
C#
public sealed class DropItemCollection : FreezableCollection<DropItem>

The DropItemCollection type exposes the following members.

Constructors
  NameDescription
Public methodDropItemCollection
Initializes a new instance of the DropItemCollection class
Top
Properties
  NameDescription
Public propertyCanFreeze (Inherited from Freezable.)
Public propertyCount (Inherited from FreezableCollectionDropItem.)
Public propertyDependencyObjectType (Inherited from DependencyObject.)
Public propertyDispatcher (Inherited from DispatcherObject.)
Public propertyHasAnimatedProperties (Inherited from Animatable.)
Public propertyIsFrozen (Inherited from Freezable.)
Public propertyIsSealed (Inherited from DependencyObject.)
Public propertyItem (Inherited from FreezableCollectionDropItem.)
Top
Methods
  NameDescription
Public methodAdd (Inherited from FreezableCollectionDropItem.)
Public methodApplyAnimationClock(DependencyProperty, AnimationClock) (Inherited from Animatable.)
Public methodApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior) (Inherited from Animatable.)
Public methodBeginAnimation(DependencyProperty, AnimationTimeline) (Inherited from Animatable.)
Public methodBeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior) (Inherited from Animatable.)
Public methodClear (Inherited from FreezableCollectionDropItem.)
Public methodClearValue(DependencyProperty) (Inherited from DependencyObject.)
Public methodClearValue(DependencyPropertyKey) (Inherited from DependencyObject.)
Public methodClone (Inherited from FreezableCollectionDropItem.)
Public methodCloneCurrentValue (Inherited from FreezableCollectionDropItem.)
Public methodCoerceValue (Inherited from DependencyObject.)
Public methodContains (Inherited from FreezableCollectionDropItem.)
Public methodCopyTo (Inherited from FreezableCollectionDropItem.)
Public methodEquals (Inherited from DependencyObject.)
Public methodFreeze (Inherited from Freezable.)
Public methodGetAnimationBaseValue (Inherited from Animatable.)
Public methodGetAsFrozen (Inherited from Freezable.)
Public methodGetCurrentValueAsFrozen (Inherited from Freezable.)
Public methodGetEnumerator (Inherited from FreezableCollectionDropItem.)
Public methodGetHashCode (Inherited from DependencyObject.)
Public methodGetLocalValueEnumerator (Inherited from DependencyObject.)
Public methodGetType (Inherited from Object.)
Public methodGetValue (Inherited from DependencyObject.)
Public methodIndexOf (Inherited from FreezableCollectionDropItem.)
Public methodInsert (Inherited from FreezableCollectionDropItem.)
Public methodInvalidateProperty (Inherited from DependencyObject.)
Public methodReadLocalValue (Inherited from DependencyObject.)
Public methodRemove (Inherited from FreezableCollectionDropItem.)
Public methodRemoveAt (Inherited from FreezableCollectionDropItem.)
Public methodSetCurrentValue (Inherited from DependencyObject.)
Public methodSetValue(DependencyProperty, Object) (Inherited from DependencyObject.)
Public methodSetValue(DependencyPropertyKey, Object) (Inherited from DependencyObject.)
Public methodToString (Inherited from Object.)
Top
Events
  NameDescription
Public eventChanged (Inherited from Freezable.)
Top
Extension Methods
  NameDescription
Public Extension MethodIsNullOrEmpty
Checks if the object is null or an empty string.
(Defined by ObjectEx.)
Public Extension MethodIsNullOrWhiteSpace
Checks if the object is null, an empty string or a string which consists of whitespace (or tabs) only.
(Defined by ObjectEx.)
Top
Examples
XAML
<ListBox AllowDrop="True">
    <dragNDrop:Drop.DropItems>
        <dragNDrop:DropItemCollection>
            <dragNDrop:DropItem DropType="File" DragDropEffect="Copy" Command="{Binding DropFileCommand}" />
            <dragNDrop:DropItem DropType="Folder" DragDropEffect="Copy" Command="{Binding DropFolderCommand}" />
        </dragNDrop:DropItemCollection>
    </dragNDrop:Drop.DropItems>
</ListBox>
See Also