File: System\Windows\DragAction.cs
Web Access
Project: src\src\Microsoft.DotNet.Wpf\src\PresentationCore\PresentationCore.csproj (PresentationCore)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
 
//
//
// 
// Description: Specifies how and if a drag-and-drop operation should continue.
//
// 
//
 
using System;
 
namespace System.Windows
{
    /// <summary>
    /// An enumeration of the DragDropResult that the DragSource will return from 
    /// QueryContinueDrag event handler or GiveFeedback handler.
    /// </summary>
    public enum DragAction
    {
        /// <summary>
        /// The DragDrop can continue.  
        /// Return by QueryContinueDrag    
        /// </summary>
        Continue = 0,
        /// <summary>
        /// Drop operation should occur, 
        /// Return by QueryContinueDrag    
        /// </summary>
        Drop = 1,
        /// <summary>
        /// Drop operation is canceled  
        /// Return by QueryContinueDrag    
        /// </summary>
        Cancel = 2,
    }
}