콘텐츠로 이동

UIElementMarkupExtensions.OnDragStarting<T> method

이 콘텐츠는 아직 번역되지 않았습니다.

Subscribes handler to DragStarting. Occurs after a drag gesture is detected on this element; handlers populate Data and AllowedEffects to start the session, or set Cancel.

public static T OnDragStarting<T>(this T target, Action<DragStartingEventArgs> handler)
where T : UIElement
parameter description
T Receiver type.
target Target UIElement.
handler Handler subscribed to DragStarting.

The same element for chaining.

Sets: UIElement.DragStarting