14 references to DropGestureRecognizer
Microsoft.Maui.Controls (14)
DragAndDrop\DragEventArgs.cs (2)
7
/// Provides data for the <see cref="
DropGestureRecognizer
.DragOver"/> and <see cref="
DropGestureRecognizer
.DragLeave"/> events.
DragAndDrop\DropEventArgs.cs (1)
7
/// Provides data for the <see cref="
DropGestureRecognizer
.Drop"/> event.
DragAndDrop\DropGestureRecognizer.cs (6)
15
public static readonly BindableProperty AllowDropProperty = BindableProperty.Create(nameof(AllowDrop), typeof(bool), typeof(
DropGestureRecognizer
), true);
18
public static readonly BindableProperty DragOverCommandProperty = BindableProperty.Create(nameof(DragOverCommand), typeof(ICommand), typeof(
DropGestureRecognizer
), null);
21
public static readonly BindableProperty DragOverCommandParameterProperty = BindableProperty.Create(nameof(DragOverCommandParameter), typeof(object), typeof(
DropGestureRecognizer
), null);
24
public static readonly BindableProperty DragLeaveCommandProperty = BindableProperty.Create(nameof(DragLeaveCommand), typeof(ICommand), typeof(
DropGestureRecognizer
), null);
27
public static readonly BindableProperty DragLeaveCommandParameterProperty = BindableProperty.Create(nameof(DragLeaveCommandParameter), typeof(object), typeof(
DropGestureRecognizer
), null);
33
public static readonly BindableProperty DropCommandParameterProperty = BindableProperty.Create(nameof(DropCommandParameter), typeof(object), typeof(
DropGestureRecognizer
), null);
Platform\GestureManager\GesturePlatformManager.iOS.cs (1)
643
if (OperatingSystem.IsIOSVersionAtLeast(11) && recognizer is
DropGestureRecognizer
)
Platform\iOS\DragAndDropDelegate.cs (4)
260
SendEventArgs<
DropGestureRecognizer
>(rec =>
280
SendEventArgs<
DropGestureRecognizer
>(rec =>
298
SendEventArgs<
DropGestureRecognizer
>(async rec =>
309
Application.Current?.FindMauiContext()?.CreateLogger<
DropGestureRecognizer
>()?.LogWarning(dropExc, "Error sending drop event");