콘텐츠로 이동

UIElementMarkupExtensions.AllowDrop<T> method

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

Sets whether the element accepts drops, taking part in drop-target hit testing and receiving DragEnter, DragOver, DragLeave and Drop.

public static T AllowDrop<T>(this T target, bool value = true)
where T : UIElement
parameter description
T Receiver type.
target Target UIElement.
value Value assigned to AllowDrop.

The same element for chaining.

Sets: UIElement.AllowDrop