Click here to Skip to main content
15,891,679 members
Home / Discussions / WPF
   

WPF

 
QuestionCatastrophic failure while running thread with BackgroundWorker Pin
salon22-Jun-09 2:31
salon22-Jun-09 2:31 
GeneralRe: Catastrophic failure while running thread with BackgroundWorker Pin
Viral Upadhyay22-Jun-09 3:03
Viral Upadhyay22-Jun-09 3:03 
GeneralRe: Catastrophic failure while running thread with BackgroundWorker Pin
salon22-Jun-09 3:14
salon22-Jun-09 3:14 
GeneralRe: Catastrophic failure while running thread with BackgroundWorker Pin
Viral Upadhyay22-Jun-09 4:31
Viral Upadhyay22-Jun-09 4:31 
GeneralRe: Catastrophic failure while running thread with BackgroundWorker Pin
salon22-Jun-09 19:11
salon22-Jun-09 19:11 
GeneralRe: Catastrophic failure while running thread with BackgroundWorker Pin
salon22-Jun-09 21:16
salon22-Jun-09 21:16 
QuestionListBox Binding From Within A User Control Pin
BlitzPackage21-Jun-09 14:56
BlitzPackage21-Jun-09 14:56 
AnswerRe: ListBox Binding From Within A User Control Pin
Mark Salsbery21-Jun-09 16:38
Mark Salsbery21-Jun-09 16:38 
On the ListBox you have
ItemsSource="{Binding Path=Photos, <code>ElementName=UCAscensionImageManagement</code>, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"

In the usercontrol you have
x:<code>Name="UCAIMEventPhotos"</code> Photos="{Binding Path=UCGeneralDataSeries, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"

I assume you mean to bind the ListBox ItemsSource to the UserControl Photos
property, correct?

If so, you used the wrong ElementName in the ListBox ItemsSource binding.


You could also try something like this:
ItemsSource="{Binding Path=Photos, RelativeSource={RelativeSource AncestorType={x:Type SG2_Ascension:UserControlAscensionImageManagement}}, Mode=OneWay}"


Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: ListBox Binding From Within A User Control Pin
BlitzPackage21-Jun-09 17:08
BlitzPackage21-Jun-09 17:08 
QuestionRe: ListBox Binding From Within A User Control Pin
Mark Salsbery21-Jun-09 17:45
Mark Salsbery21-Jun-09 17:45 
AnswerRe: ListBox Binding From Within A User Control Pin
BlitzPackage21-Jun-09 17:55
BlitzPackage21-Jun-09 17:55 
GeneralRe: ListBox Binding From Within A User Control Pin
Mark Salsbery21-Jun-09 18:01
Mark Salsbery21-Jun-09 18:01 
QuestionHow do I check whether the "X" button in the top right corner was clicked on a WPF form? Pin
Etienne_12321-Jun-09 11:54
Etienne_12321-Jun-09 11:54 
AnswerRe: How do I check whether the "X" button in the top right corner was clicked on a WPF form? Pin
Christian Graus21-Jun-09 12:10
protectorChristian Graus21-Jun-09 12:10 
QuestionHow do you display separator bars in a StatusBar? Pin
fjparisIII21-Jun-09 8:27
fjparisIII21-Jun-09 8:27 
AnswerRe: How do you display separator bars in a StatusBar? Pin
Christian Graus21-Jun-09 10:05
protectorChristian Graus21-Jun-09 10:05 
GeneralRe: How do you display separator bars in a StatusBar? Pin
fjparisIII21-Jun-09 11:09
fjparisIII21-Jun-09 11:09 
GeneralRe: How do you display separator bars in a StatusBar? Pin
Mark Salsbery21-Jun-09 11:13
Mark Salsbery21-Jun-09 11:13 
GeneralRe: How do you display separator bars in a StatusBar? (Ans: don't use them) Pin
fjparisIII21-Jun-09 11:26
fjparisIII21-Jun-09 11:26 
GeneralRe: How do you display separator bars in a StatusBar? (Ans: don't use them) Pin
Mark Salsbery21-Jun-09 11:29
Mark Salsbery21-Jun-09 11:29 
GeneralRe: How do you display separator bars in a StatusBar? (Ans: don't use them) Pin
fjparisIII21-Jun-09 11:51
fjparisIII21-Jun-09 11:51 
AnswerRe: How do you display separator bars in a StatusBar? [modified] Pin
Mark Salsbery21-Jun-09 10:50
Mark Salsbery21-Jun-09 10:50 
GeneralRe: How do you display separator bars in a StatusBar? Pin
Christian Graus21-Jun-09 10:51
protectorChristian Graus21-Jun-09 10:51 
GeneralRe: How do you display separator bars in a StatusBar? Pin
Mark Salsbery21-Jun-09 11:04
Mark Salsbery21-Jun-09 11:04 
GeneralRe: How do you display separator bars in a StatusBar? Pin
Mark Salsbery21-Jun-09 11:09
Mark Salsbery21-Jun-09 11:09 

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.