Click here to Skip to main content
       

Silverlight / WPF

 
Hint: For improved responsiveness ensure Javascript is enabled and choose 'Normal' from the Layout dropdown and hit 'Update'.
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page  Show 
QuestionConditional Compilation in XAMLmembervivasaayi27 Sep '09 - 21:51 
AnswerRe: Conditional Compilation in XAMLmvpPete O'Hanlon27 Sep '09 - 22:15 
GeneralRe: Conditional Compilation in XAMLmembervivasaayi28 Sep '09 - 0:02 
GeneralRe: Conditional Compilation in XAMLmvpPete O'Hanlon28 Sep '09 - 0:26 
JokeGoogle annoucmentmemberJacek Gajek28 Sep '09 - 0:41 
GeneralRe: Google annoucmentmvpPete O'Hanlon28 Sep '09 - 0:44 
AnswerRe: Google annoucmentmembervivasaayi28 Sep '09 - 1:08 
GeneralRe: Google annoucmentmemberIan Shlasko28 Sep '09 - 3:03 
QuestionNeed to access control in another pagememberCBenac25 Sep '09 - 18:26 
AnswerRe: Need to access control in another pagemvpMark Salsbery28 Sep '09 - 6:44 
GeneralRe: Need to access control in another pagememberCBenac28 Sep '09 - 10:56 
GeneralRe: Need to access control in another pagemvpMark Salsbery28 Sep '09 - 13:40 
QuestionWhy doesn't the AllowDrop property work with a TextBox? [modified]memberfjparisIII25 Sep '09 - 5:18 
My previous question concerned dragging and dropping into a ListBox and the answer was in the Drop event I had to execute code like this:
Array a = (Array)e.Data.GetData(DataFormats.FileDrop);
The other part of this is that I have to set the AllowDrop property to true on the ListBox. All that works fine.
 
But then when we come to a TextBox, setting AllowDrop to True doesn't work. I drag text into the field and the cursor with the red slash through it persists when it enters the TextBox! I noticed the same thing months ago, but was busy with other things, so dropped the attempt to get dragging and dropping working into a TextBox. But when I got it working with a ListBox, I figured I now knew enough to get it working with a TextBox. No such luck! What am I missing?
 
Addendum: I just read that the WPF TextBox has drag and drop by default, and indeed dragging from one TextBox to another does work by default. But dragging and dropping from Windows Explorer to a WPF TextBox does not work whether or not AllowDrop is set to true, and that's precisely what I need. How can I get it?
 
modified on Friday, September 25, 2009 12:06 PM

AnswerRe: Why doesn't the AllowDrop property work with a TextBox?mvpPete O'Hanlon25 Sep '09 - 10:24 
GeneralRe: Why doesn't the AllowDrop property work with a TextBox? [modified]memberfjparisIII26 Sep '09 - 4:48 
GeneralRe: Why doesn't the AllowDrop property work with a TextBox?mvpPete O'Hanlon27 Sep '09 - 23:34 
GeneralRe: Why doesn't the AllowDrop property work with a TextBox?memberfjparisIII28 Sep '09 - 5:50 
GeneralRe: Why doesn't the AllowDrop property work with a TextBox?mvpPete O'Hanlon28 Sep '09 - 8:50 
GeneralRe: Why doesn't the AllowDrop property work with a TextBox?memberfjparisIII28 Sep '09 - 16:41 
QuestionCan't update GUI with textbox Textmembermarca29224 Sep '09 - 20:14 
QuestionNeed to accept drop from drag and drop operation from Windows ExplorermemberfjparisIII24 Sep '09 - 16:08 
AnswerRe: Need to accept drop from drag and drop operation from Windows ExplorermemberGideon Engelberth25 Sep '09 - 3:22 
GeneralRe: Need to accept drop from drag and drop operation from Windows ExplorermemberfjparisIII25 Sep '09 - 4:06 
QuestionFont difference between XP and Vista in wpf appmemberausadmin24 Sep '09 - 13:47 
AnswerRe: Font difference between XP and Vista in wpf appmvpChristian Graus24 Sep '09 - 14:22 
QuestionCustom controlmemberMikey_H23 Sep '09 - 9:11 
AnswerRe: Custom controlmemberRichard MacCutchan23 Sep '09 - 12:27 
GeneralRe: Custom controlmemberMikey_H25 Sep '09 - 3:19 
GeneralRe: Custom controlmemberRichard MacCutchan25 Sep '09 - 7:55 
QuestionCant see columns in listview on designermemberHaimbert23 Sep '09 - 4:36 
AnswerRe: Cant see columns in listview on designermemberABitSmart23 Sep '09 - 14:25 
GeneralRe: Cant see columns in listview on designermemberHaimbert23 Sep '09 - 23:02 
QuestionClock timepickermemberpcsamer22 Sep '09 - 22:53 
AnswerRe: Clock timepickermvpMark Salsbery23 Sep '09 - 5:50 
QuestionVertical Text in GridmemberAdriaan Davel22 Sep '09 - 21:08 
AnswerRe: Vertical Text in GridmvpMark Salsbery23 Sep '09 - 5:51 
GeneralRe: Vertical Text in GridmemberAdriaan Davel27 Sep '09 - 20:03 
GeneralRe: Vertical Text in GridmvpMark Salsbery28 Sep '09 - 6:19 
GeneralRe: Vertical Text in GridmemberAdriaan Davel28 Sep '09 - 19:57 
GeneralRe: Vertical Text in GridmvpMark Salsbery29 Sep '09 - 6:54 
GeneralRe: Vertical Text in GridmemberAdriaan Davel29 Sep '09 - 19:29 
GeneralRe: Vertical Text in Grid [modified]mvpMark Salsbery1 Oct '09 - 6:14 
GeneralRe: Vertical Text in GridmemberAdriaan Davel1 Oct '09 - 19:49 
GeneralRe: Vertical Text in GridmemberAdriaan Davel1 Oct '09 - 20:16 
QuestionWeird blue dotsmemberlhyblue22 Sep '09 - 20:52 
AnswerRe: Weird blue dotsmvpPete O'Hanlon22 Sep '09 - 22:34 
GeneralRe: Weird blue dotsmemberlhyblue22 Sep '09 - 23:01 
GeneralRe: Weird blue dotsmvpPete O'Hanlon23 Sep '09 - 2:08 
JokeRe: Weird blue dotsmemberegenis23 Sep '09 - 0:26 
QuestionWPF vs....memberChris Tiaan22 Sep '09 - 8:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web04 | 2.6.130523.1 | Last Updated 25 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid