Click here to Skip to main content
12,350,971 members (35,498 online)

Silverlight / WPF

 
GeneralRe: Google annoucment Pin
Pete O'Hanlon28-Sep-09 0:44
mvpPete O'Hanlon28-Sep-09 0:44 
AnswerRe: Google annoucment Pin
vivasaayi28-Sep-09 1:08
membervivasaayi28-Sep-09 1:08 
GeneralRe: Google annoucment Pin
Ian Shlasko28-Sep-09 3:03
memberIan Shlasko28-Sep-09 3:03 
QuestionNeed to access control in another page Pin
CBenac25-Sep-09 18:26
memberCBenac25-Sep-09 18:26 
AnswerRe: Need to access control in another page Pin
Mark Salsbery28-Sep-09 6:44
mvpMark Salsbery28-Sep-09 6:44 
GeneralRe: Need to access control in another page Pin
CBenac28-Sep-09 10:56
memberCBenac28-Sep-09 10:56 
GeneralRe: Need to access control in another page Pin
Mark Salsbery28-Sep-09 13:40
mvpMark Salsbery28-Sep-09 13:40 
QuestionWhy doesn't the AllowDrop property work with a TextBox? [modified] Pin
fjparisIII25-Sep-09 5:18
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? Pin
Pete O'Hanlon25-Sep-09 10:24
mvpPete O'Hanlon25-Sep-09 10:24 
GeneralRe: Why doesn't the AllowDrop property work with a TextBox? [modified] Pin
fjparisIII26-Sep-09 4:48
memberfjparisIII26-Sep-09 4:48 
GeneralRe: Why doesn't the AllowDrop property work with a TextBox? Pin
Pete O'Hanlon27-Sep-09 23:34
mvpPete O'Hanlon27-Sep-09 23:34 
GeneralRe: Why doesn't the AllowDrop property work with a TextBox? Pin
fjparisIII28-Sep-09 5:50
memberfjparisIII28-Sep-09 5:50 
GeneralRe: Why doesn't the AllowDrop property work with a TextBox? Pin
Pete O'Hanlon28-Sep-09 8:50
mvpPete O'Hanlon28-Sep-09 8:50 
GeneralRe: Why doesn't the AllowDrop property work with a TextBox? Pin
fjparisIII28-Sep-09 16:41
memberfjparisIII28-Sep-09 16:41 
QuestionCan't update GUI with textbox Text Pin
marca29224-Sep-09 20:14
membermarca29224-Sep-09 20:14 
QuestionNeed to accept drop from drag and drop operation from Windows Explorer Pin
fjparisIII24-Sep-09 16:08
memberfjparisIII24-Sep-09 16:08 
AnswerRe: Need to accept drop from drag and drop operation from Windows Explorer Pin
Gideon Engelberth25-Sep-09 3:22
memberGideon Engelberth25-Sep-09 3:22 
GeneralRe: Need to accept drop from drag and drop operation from Windows Explorer Pin
fjparisIII25-Sep-09 4:06
memberfjparisIII25-Sep-09 4:06 
QuestionFont difference between XP and Vista in wpf app Pin
ausadmin24-Sep-09 13:47
memberausadmin24-Sep-09 13:47 
AnswerRe: Font difference between XP and Vista in wpf app Pin
Christian Graus24-Sep-09 14:22
mvpChristian Graus24-Sep-09 14:22 
QuestionCustom control Pin
Mikey_H23-Sep-09 9:11
memberMikey_H23-Sep-09 9:11 
AnswerRe: Custom control Pin
Richard MacCutchan23-Sep-09 12:27
memberRichard MacCutchan23-Sep-09 12:27 
GeneralRe: Custom control Pin
Mikey_H25-Sep-09 3:19
memberMikey_H25-Sep-09 3:19 
GeneralRe: Custom control Pin
Richard MacCutchan25-Sep-09 7:55
memberRichard MacCutchan25-Sep-09 7:55 
QuestionCant see columns in listview on designer Pin
Haimbert23-Sep-09 4:36
memberHaimbert23-Sep-09 4:36 

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

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.160621.1 | Last Updated 24 Jun 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid