Click here to Skip to main content
15,921,351 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: I dont now what is the error "{"An ItemsControl is inconsistent with its items source.\n See the inner exception for more information."}" Pin
Super Lloyd16-Dec-18 15:50
Super Lloyd16-Dec-18 15:50 
GeneralRe: I dont now what is the error "{"An ItemsControl is inconsistent with its items source.\n See the inner exception for more information."}" Pin
Rabee3-F1.78754517-Dec-18 10:22
Rabee3-F1.78754517-Dec-18 10:22 
GeneralRe: I dont now what is the error "{"An ItemsControl is inconsistent with its items source.\n See the inner exception for more information."}" Pin
Super Lloyd17-Dec-18 15:28
Super Lloyd17-Dec-18 15:28 
AnswerRe: I dont now what is the error "{"An ItemsControl is inconsistent with its items source.\n See the inner exception for more information."}" Pin
Richard Deeming17-Dec-18 9:20
mveRichard Deeming17-Dec-18 9:20 
QuestionI dont now what is the error "{"An ItemsControl is inconsistent with its items source.\n See the inner exception for more information."}" Pin
Rabee3-F1.78754516-Dec-18 1:34
Rabee3-F1.78754516-Dec-18 1:34 
QuestionReorder Elements in ScrollViewer/Grid Pin
GenJerDan12-Dec-18 9:38
GenJerDan12-Dec-18 9:38 
AnswerRe: Reorder Elements in ScrollViewer/Grid Pin
Super Lloyd12-Dec-18 18:11
Super Lloyd12-Dec-18 18:11 
GeneralRe: Reorder Elements in ScrollViewer/Grid Pin
GenJerDan12-Dec-18 19:27
GenJerDan12-Dec-18 19:27 
QuestionBorder With Bound Pulsating Color Pin
Kevin Marois10-Dec-18 5:53
professionalKevin Marois10-Dec-18 5:53 
AnswerRe: Border With Bound Pulsating Color Pin
Super Lloyd12-Dec-18 17:06
Super Lloyd12-Dec-18 17:06 
QuestionBinding To Single List Item Pin
Kevin Marois27-Nov-18 10:23
professionalKevin Marois27-Nov-18 10:23 
AnswerRe: Binding To Single List Item Pin
Meshack Musundi27-Nov-18 20:17
professionalMeshack Musundi27-Nov-18 20:17 
GeneralRe: Binding To Single List Item Pin
Pete O'Hanlon27-Nov-18 21:03
mvePete O'Hanlon27-Nov-18 21:03 
GeneralRe: Binding To Single List Item Pin
Meshack Musundi27-Nov-18 21:12
professionalMeshack Musundi27-Nov-18 21:12 
GeneralRe: Binding To Single List Item Pin
Pete O'Hanlon27-Nov-18 22:19
mvePete O'Hanlon27-Nov-18 22:19 
GeneralRe: Binding To Single List Item Pin
Meshack Musundi27-Nov-18 21:24
professionalMeshack Musundi27-Nov-18 21:24 
GeneralRe: Binding To Single List Item Pin
Pete O'Hanlon27-Nov-18 22:18
mvePete O'Hanlon27-Nov-18 22:18 
GeneralRe: Binding To Single List Item Pin
Meshack Musundi27-Nov-18 22:45
professionalMeshack Musundi27-Nov-18 22:45 
GeneralRe: Binding To Single List Item Pin
Pete O'Hanlon27-Nov-18 23:11
mvePete O'Hanlon27-Nov-18 23:11 
AnswerRe: Binding To Single List Item Pin
Pete O'Hanlon27-Nov-18 21:01
mvePete O'Hanlon27-Nov-18 21:01 
AnswerRe: Binding To Single List Item Pin
Gerry Schmitz28-Nov-18 19:46
mveGerry Schmitz28-Nov-18 19:46 
Question(solved) Drag and Drop problem Pin
Super Lloyd20-Nov-18 23:36
Super Lloyd20-Nov-18 23:36 
I have problem dragging file to the explorer.
It seems to be something to do with my current application settings.

I have a test app with hardcoded file and when the appropriate mouse event happen I trigger the following code (with hard coded file path)
C#
var dragObj = new DataObject();
dragObj.SetFileDropList(new StringCollection() { @"H:\Temp\popeye.svg" });
DragDrop.DoDragDrop(new Window(), dragObj, DragDropEffects.Copy);

however if I do that in my other app (and I do it from the UI thread as well and with the same hard coded paths), nothing is dropped and the explorer show the forbidden cursor and the operation only complete when my mouse enter my window rect again.

I am stomped.. what could cause this code to work in one app, but not the other?
Remark: I am using the same version of the .NET Framework in both test and real app.

[EDIT]
Newsflash: this seems to be related to the UIElement I drag from being a drop target as well.
When I commented out the Drop event handlers, it dragged successfully.
Tricky, I need to be able to drop to it as well... mm....

[EDIT 2]
In my drop code I added some UIElement.MouseCapture() call. this was what prevented my code from working! OMG | :OMG:
A new .NET Serializer
All in one Menu-Ribbon Bar
Taking over the world since 1371!


modified 21-Nov-18 11:06am.

Question(solved) WPF TreeViewItem and Focus Pin
Super Lloyd19-Nov-18 6:45
Super Lloyd19-Nov-18 6:45 
QuestionBest book(s) on WPF Pin
stefano_v15-Nov-18 22:22
stefano_v15-Nov-18 22:22 
AnswerRe: Best book(s) on WPF Pin
Gerry Schmitz20-Nov-18 7:00
mveGerry Schmitz20-Nov-18 7:00 

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.