Disable Drag-drop from TextBox

Posted by viky on Stack Overflow See other posts from Stack Overflow or by viky
Published on 2010-03-30T13:24:32Z Indexed on 2010/05/26 14:41 UTC
Read the original article Hit count: 315

Filed under:
|
|
|
|

I have a WPF textBox that is declared as ReadOnly

<TextBox IsReadOnly="True" IsTabStop="False" Width="200" />

So, User can not write anything into the TextBox or delete the content but it still allows user to drag the text from this textbox and drop it in any other textbox that caused the text removed from the first textbox(the read-only one) and thats unexpected. Is it a bug? how can I get rid of this?

© Stack Overflow or respective owner

Related posts about c#

Related posts about wpf