Note

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

Access to this page requires authorization. You can try .

DragStartingEventArgs Class

Definition

Namespace:
Microsoft.Maui.Controls
Assembly:
Microsoft.Maui.Controls.dll
Source:
DragStartingEventArgs.cs
Source:
DragStartingEventArgs.cs
Source:
DragStartingEventArgs.cs
Source:
DragStartingEventArgs.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 DragStarting event.

public ref class DragStartingEventArgs : EventArgs
public class DragStartingEventArgs : EventArgs
type DragStartingEventArgs = class
 inherit EventArgs
Public Class DragStartingEventArgs
Inherits EventArgs
Inheritance
DragStartingEventArgs

Constructors

Name Description
DragStartingEventArgs()

Initializes a new instance of the DragStartingEventArgs class.

Properties

Name Description
Cancel

Gets or sets a value that indicates whether the event should be canceled.

Data

Gets the data package that accompanies the drag source.

Handled
Obsolete.

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 DragStartingEventArgs.

Methods

Name Description
GetPosition(Element)

Gets the location where dragging started relative to the specified element.

Applies to


Feedback

Was this page helpful?