Getting error when i drag&drop in WPF
-
Hello, i am developing a Form where the user need to drag and drop between Grid,StackPanel etc. some data you can see the code below :
-
Hello, i am developing a Form where the user need to drag and drop between Grid,StackPanel etc. some data you can see the code below :
The simple answer to this is, that some of the objects that you're trying to pass has not been initialized (or putting it simple, does not exist; is null). Try to create an instance of all of the objects, and their properties that are requried to be passed on as a parameter. Are all of your objects initialized?
The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~
-
Hello, i am developing a Form where the user need to drag and drop between Grid,StackPanel etc. some data you can see the code below :
Your Code is behaving the correct way. box1,box2,box3 cannot be moved becaused you did not handle the events to move them but stackPanels which are the Children can move.
Vuyiswa Maseko, Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code. C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.com vuyiswa[at]dotnetfunda.com http://www.Dotnetfunda.com