Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DropEventArgs Class

Definition

Namespace:
Microsoft.Maui.Controls
Assembly:
Microsoft.Maui.Controls.dll
Source:
DropEventArgs.cs
Source:
DropEventArgs.cs
Source:
DropEventArgs.cs
Source:
DropEventArgs.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Provides data for the Drop event.

public ref class DropEventArgs
public class DropEventArgs
type DropEventArgs = class
Public Class DropEventArgs
Inheritance
DropEventArgs

Constructors

Name Description
DropEventArgs(DataPackageView)

Initializes a new instance of the DropEventArgs class.

Properties

Name Description
Data

Gets the data package associated with the drop event.

Handled

Gets or sets a value that indicates whether the event handler has handled the event or whether .NET MAUI should continue its own processing.

PlatformArgs

Gets the platform-specific arguments associated with the DropEventArgs.

Methods

Name Description
GetPosition(Element)

Gets the location of the drag relative to the specified element.

Applies to


Feedback

Was this page helpful?