Hello,
Does anyone have an idea how I can disable Drag & Drop for all my TextBox Elements? I found something here , but that would need me to run a loop for all Elements..
Thank you!
EDIT
Thanks a lot for the help!
Hello,
Does anyone have an idea how I can disable Drag & Drop for all my TextBox Elements? I found something here , but that would need me to run a loop for all Elements..
Thank you!
EDIT
Thanks a lot for the help!
You can easily wrap what this article describes into a attached property/behaviours...
ie. TextBoxManager.AllowDrag="False" (For more information check out these 2 CodeProject articles - Drag and Drop Sample and Glass Effect Samplelink text)
Or try out the new Blend SDK's Behaviors
UPDATE
Use the following after InitializeComponent()
DataObject.AddCopyingHandler(textboxName, (sender, e) => { if (e.IsDragDrop) e.CancelCommand(); });