| File: System\Windows\DragAction.cs | Web Access |
| Project: src\wpf\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. // // // // Description: Specifies how and if a drag-and-drop operation should continue. // // // 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, } }