File: Core\CSharp\System\Windows\DragDropEffects.cs
Project: wpf\src\PresentationCore.csproj (PresentationCore)
//---------------------------------------------------------------------------
//
// File: DragDropEffects.cs
//
// Copyright (C) Microsoft Corporation.  All rights reserved.
// 
// Description: Specifies the effects of drag-and-drop operation.
//
// 
// History:  
//  08/19/2004 : sangilj    Created
//
//---------------------------------------------------------------------------
 
using System;
 
namespace System.Windows
{
    /// <summary>
    /// An enumeration of the DragDropEffects that can be notified to the dragsource.
    /// </summary>
    [Flags]
    public enum DragDropEffects
    {
        /// <summary>
        /// A drop would not be allowed. 
        /// </summary>
        None = 0,
        /// <summary>
        /// A copy operation would be performed.
        /// </summary>
        Copy = 1,
        /// <summary>
        /// A move operation would be performed.
        /// </summary>
        Move = 2,
        /// <summary>
        /// A link from the dropped data to the original data would be established.
        /// </summary>
        Link = 4,
        /// <summary>
        /// A drag scroll operation is about to occur or is occurring in the target. 
        /// </summary>
        Scroll = unchecked((int)0x80000000),
        /// <summary>
        /// All operation is about to occur data is copied or removed from the drag source, and
        /// scrolled in the drop target. 
        /// </summary>
        All = Copy | Move | Scroll,
    }
}