-
Notifications
You must be signed in to change notification settings - Fork 700
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dragdrop): Add ability to override the default UI
- Loading branch information
Showing
6 changed files
with
241 additions
and
62 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,26 @@ | ||
#nullable enable | ||
|
||
using Windows.Foundation; | ||
using Windows.UI.Xaml.Media; | ||
using Windows.UI.Xaml.Media.Imaging; | ||
|
||
namespace Windows.UI.Xaml | ||
{ | ||
public partial class DragUI | ||
public partial class DragUI | ||
{ | ||
public void SetContentFromBitmapImage( global::Windows.UI.Xaml.Media.Imaging.BitmapImage bitmapImage) | ||
internal ImageSource? Content { get; private set; } | ||
|
||
internal Point? Anchor { get; private set; } | ||
|
||
public void SetContentFromBitmapImage(BitmapImage bitmapImage) | ||
{ | ||
global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Windows.UI.Xaml.DragUI", "void DragUI.SetContentFromBitmapImage(BitmapImage bitmapImage)"); | ||
Content = bitmapImage; | ||
} | ||
public void SetContentFromBitmapImage( global::Windows.UI.Xaml.Media.Imaging.BitmapImage bitmapImage, global::Windows.Foundation.Point anchorPoint) | ||
|
||
public void SetContentFromBitmapImage(BitmapImage bitmapImage, Point anchorPoint) | ||
{ | ||
global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Windows.UI.Xaml.DragUI", "void DragUI.SetContentFromBitmapImage(BitmapImage bitmapImage, Point anchorPoint)"); | ||
Content = bitmapImage; | ||
Anchor = anchorPoint; | ||
} | ||
} | ||
} |
Oops, something went wrong.