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. |
Return Value
Section titled “Return Value”The same element for chaining.
Sets: UIElement.AllowDrop
See Also
Section titled “See Also”- class UIElement
- class UIElementMarkupExtensions
- namespace Aprillz.MewUI.Controls