WPF Frame and Drag/Drop Events

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Feb 2007
Posts: 1,614
Reputation: scru has a spectacular aura about scru has a spectacular aura about 
Solved Threads: 131
Featured Poster
scru's Avatar
scru scru is offline Offline
Posting Virtuoso

WPF Frame and Drag/Drop Events

 
0
  #1
Feb 6th, 2008
Is there something wrong with the Frame Element that prevents these events from firing (AllowDrop is set to true)?
Last edited by scru; Feb 6th, 2008 at 2:55 pm.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 1,297
Reputation: majestic0110 has a spectacular aura about majestic0110 has a spectacular aura about majestic0110 has a spectacular aura about 
Solved Threads: 67
majestic0110's Avatar
majestic0110 majestic0110 is offline Offline
Nearly a Posting Virtuoso

Re: WPF Frame and Drag/Drop Events

 
0
  #2
Feb 7th, 2008
I am not quite sure I understand what you mean scru.
Computers are man's attempt at designing a cat: It does whatever it wants, whenever it wants, and rarely ever at the right time.
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 1,614
Reputation: scru has a spectacular aura about scru has a spectacular aura about 
Solved Threads: 131
Featured Poster
scru's Avatar
scru scru is offline Offline
Posting Virtuoso

Re: WPF Frame and Drag/Drop Events

 
0
  #3
Feb 7th, 2008
DragEnter, DragLeave, DragOver and Drop events do not work for the frame element in WPF.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 1,297
Reputation: majestic0110 has a spectacular aura about majestic0110 has a spectacular aura about majestic0110 has a spectacular aura about 
Solved Threads: 67
majestic0110's Avatar
majestic0110 majestic0110 is offline Offline
Nearly a Posting Virtuoso

Re: WPF Frame and Drag/Drop Events

 
0
  #4
Feb 7th, 2008
oh right, I think they should do:
http://msdn2.microsoft.com/en-us/lib...m.windows.aspx
Computers are man's attempt at designing a cat: It does whatever it wants, whenever it wants, and rarely ever at the right time.
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 1,614
Reputation: scru has a spectacular aura about scru has a spectacular aura about 
Solved Threads: 131
Featured Poster
scru's Avatar
scru scru is offline Offline
Posting Virtuoso

Re: WPF Frame and Drag/Drop Events

 
1
  #5
Feb 7th, 2008
Not my intention to be rude or ungrateful, but I'm confused as to how that link helps me. It doesn't say anything about getting Drag/Drop events firing on frames (they have fired on every other element I've tried, including Window and Page)
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 1,297
Reputation: majestic0110 has a spectacular aura about majestic0110 has a spectacular aura about majestic0110 has a spectacular aura about 
Solved Threads: 67
majestic0110's Avatar
majestic0110 majestic0110 is offline Offline
Nearly a Posting Virtuoso

Re: WPF Frame and Drag/Drop Events

 
0
  #6
Feb 7th, 2008
ok, this may help:
http://msdn2.microsoft.com/en-us/library/ms771747.aspx
with regards to the first link I sent I was assuming you would find the DragEventArgs class item on that page and click the drag... links. No worries. hope this helps
Computers are man's attempt at designing a cat: It does whatever it wants, whenever it wants, and rarely ever at the right time.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 1,297
Reputation: majestic0110 has a spectacular aura about majestic0110 has a spectacular aura about majestic0110 has a spectacular aura about 
Solved Threads: 67
majestic0110's Avatar
majestic0110 majestic0110 is offline Offline
Nearly a Posting Virtuoso

Re: WPF Frame and Drag/Drop Events

 
0
  #7
Feb 7th, 2008
Computers are man's attempt at designing a cat: It does whatever it wants, whenever it wants, and rarely ever at the right time.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 1,297
Reputation: majestic0110 has a spectacular aura about majestic0110 has a spectacular aura about majestic0110 has a spectacular aura about 
Solved Threads: 67
majestic0110's Avatar
majestic0110 majestic0110 is offline Offline
Nearly a Posting Virtuoso

Re: WPF Frame and Drag/Drop Events

 
1
  #8
Feb 7th, 2008
about half way down that last link I think that info might help
Computers are man's attempt at designing a cat: It does whatever it wants, whenever it wants, and rarely ever at the right time.
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 1,614
Reputation: scru has a spectacular aura about scru has a spectacular aura about 
Solved Threads: 131
Featured Poster
scru's Avatar
scru scru is offline Offline
Posting Virtuoso

Re: WPF Frame and Drag/Drop Events

 
0
  #9
Feb 9th, 2008
I have finally given up and decided that I can't get it to work on the Frame Control. However, I'm doing it on every Page control that goes inside the frame (by setting the handler to an external class). Thanks for all the effort you gave though. You really geniunely tried to help and I appreciate it.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 1,297
Reputation: majestic0110 has a spectacular aura about majestic0110 has a spectacular aura about majestic0110 has a spectacular aura about 
Solved Threads: 67
majestic0110's Avatar
majestic0110 majestic0110 is offline Offline
Nearly a Posting Virtuoso

Re: WPF Frame and Drag/Drop Events

 
0
  #10
Feb 10th, 2008
no problem glad you got (somewhat) of a solution !
Computers are man's attempt at designing a cat: It does whatever it wants, whenever it wants, and rarely ever at the right time.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the C# Forum
Thread Tools Search this Thread



Tag cloud for C#
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC