File: winforms\Managed\System\WinForms\DragDropEffects.cs
Project: ndp\fx\src\System.Windows.Forms.csproj (System.Windows.Forms)
//------------------------------------------------------------------------------
// <copyright file="DragDropEffects.cs" company="Microsoft">
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>                                                                
//------------------------------------------------------------------------------
 
namespace System.Windows.Forms {
 
    using System;
    using System.Diagnostics;
 
    using System.Diagnostics.CodeAnalysis;
    using System.Drawing;
    using System.ComponentModel;
    using Microsoft.Win32;
 
 
    /// <include file='doc\DragDropEffects.uex' path='docs/doc[@for="DragDropEffects"]/*' />
    /// <devdoc>
    ///    <para>Specifies the effects of a drag-and-drop operation.</para>
    /// </devdoc>
    [SuppressMessage("Microsoft.Usage", "CA2217:DoNotMarkEnumsWithFlags")]
    [Flags]
    public enum DragDropEffects {
 
        /// <include file='doc\DragDropEffects.uex' path='docs/doc[@for="DragDropEffects.None"]/*' />
        /// <devdoc>
        ///    <para>
        ///       The drop target does not accept the data.
        ///    </para>
        /// </devdoc>
        None = 0x00000000,
        /// <include file='doc\DragDropEffects.uex' path='docs/doc[@for="DragDropEffects.Copy"]/*' />
        /// <devdoc>
        ///    <para>
        ///       The data is copied to the drop target.
        ///    </para>
        /// </devdoc>
        Copy = 0x00000001,
        /// <include file='doc\DragDropEffects.uex' path='docs/doc[@for="DragDropEffects.Move"]/*' />
        /// <devdoc>
        ///    <para>
        ///       The data from the drag source is moved to the drop target.
        ///    </para>
        /// </devdoc>
        Move = 0x00000002,
        /// <include file='doc\DragDropEffects.uex' path='docs/doc[@for="DragDropEffects.Link"]/*' />
        /// <devdoc>
        ///    <para>
        ///       The data from the drag source is linked to the drop target.
        ///    </para>
        /// </devdoc>
        Link = 0x00000004,
        /// <include file='doc\DragDropEffects.uex' path='docs/doc[@for="DragDropEffects.Scroll"]/*' />
        /// <devdoc>
        ///    <para>
        ///       Scrolling is about to start or is currently occurring in the drop target.
        ///    </para>
        /// </devdoc>
        Scroll = unchecked((int)0x80000000),
        /// <include file='doc\DragDropEffects.uex' path='docs/doc[@for="DragDropEffects.All"]/*' />
        /// <devdoc>
        ///    <para>
        ///       The data is copied, removed from the drag source, and scrolled in the 
        ///	      drop target.  NOTE: Link is intentionally not present in All.
        ///    </para>
        /// </devdoc>
        All = Copy | Move | Scroll,
    }
}