-
Notifications
You must be signed in to change notification settings - Fork 730
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dragdrop): Initial D&D events support on ListView
- Loading branch information
Showing
8 changed files
with
124 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,27 @@ | ||
#nullable enable | ||
|
||
using Windows.ApplicationModel.DataTransfer; | ||
using Windows.ApplicationModel.DataTransfer.DragDrop.Core; | ||
|
||
namespace Windows.UI.Xaml | ||
{ | ||
public partial class DropCompletedEventArgs : RoutedEventArgs | ||
{ | ||
internal DropCompletedEventArgs(UIElement originalSource, DataPackageOperation result) | ||
internal DropCompletedEventArgs(UIElement originalSource, CoreDragInfo info, DataPackageOperation result) | ||
: base(originalSource) | ||
{ | ||
Info = info; | ||
DropResult = result; | ||
|
||
CanBubbleNatively = false; | ||
} | ||
|
||
/// <summary> | ||
/// Get access to the shared data, for internal usage only. | ||
/// This has to be treated as readonly for drop completed. | ||
/// </summary> | ||
internal CoreDragInfo Info { get; } | ||
|
||
public DataPackageOperation DropResult { get; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters