Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxWindow.DragStarted Event

Fires when a user starts to drag the Window.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[Parameter]
public EventCallback<WindowDragStartedEventArgs> DragStarted { get; set; }

#Event Data

The DragStarted event's data class is WindowDragStartedEventArgs. The following properties provide information specific to this event:

Property Description
CancellationToken Specifies an object that propagates a cancellation notification.
Position Returns the initial window position.

#Remarks

When the AllowDrag property is set to true, users can drag the Window. Handle the DragStarted event to be notified when a user starts to drag the window. The event argument’s Position parameter returns the initial window position.

Handle the DragCompleted event to be notified when a user finishes dragging the window.

See Also