Click here to Skip to main content
15,894,825 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Data binding from a List to a Grid Pin
Mark Salsbery25-Jun-09 7:48
Mark Salsbery25-Jun-09 7:48 
GeneralRe: Data binding from a List to a Grid Pin
fjparisIII25-Jun-09 8:30
fjparisIII25-Jun-09 8:30 
GeneralRe: Data binding from a List to a Grid Pin
fjparisIII25-Jun-09 7:39
fjparisIII25-Jun-09 7:39 
GeneralRe: Data binding from a List to a Grid Pin
Pete O'Hanlon25-Jun-09 9:07
mvePete O'Hanlon25-Jun-09 9:07 
GeneralRe: Data binding from a List to a Grid Pin
fjparisIII25-Jun-09 9:29
fjparisIII25-Jun-09 9:29 
AnswerRe: Data binding from a List to a Grid Pin
Mark Salsbery25-Jun-09 7:23
Mark Salsbery25-Jun-09 7:23 
GeneralRe: Data binding from a List to a Grid Pin
fjparisIII25-Jun-09 7:40
fjparisIII25-Jun-09 7:40 
GeneralRe: Data binding from a List to a Grid Pin
Mark Salsbery25-Jun-09 7:46
Mark Salsbery25-Jun-09 7:46 
You looked at the wrong DataContext. The DataContext we're referring to
is a property of every UIElement.

I think it's very relevant - you'll probably want to set the DataContext to
your list object instances somewhere in your visual tree so you don't have to
use a "global" Application object as your binding source (which is just silly
except for data that needs to be at application scope Smile | :)

From what I gathered, you want data at the scope of each Window (different set of data
for each window, so set the DataContext to that data on the Window or any appropriate
child element of the window).

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: Data binding from a List to a Grid Pin
fjparisIII25-Jun-09 8:33
fjparisIII25-Jun-09 8:33 
AnswerRe: Data binding from a List to a Grid (Everything works now) [modified] Pin
fjparisIII25-Jun-09 12:19
fjparisIII25-Jun-09 12:19 
QuestionWPF Slider project Pin
fgimenez24-Jun-09 8:14
fgimenez24-Jun-09 8:14 
AnswerRe: WPF Slider project Pin
Christian Graus24-Jun-09 15:26
protectorChristian Graus24-Jun-09 15:26 
GeneralRe: WPF Slider project Pin
fgimenez29-Jun-09 2:49
fgimenez29-Jun-09 2:49 
QuestionSilverlight2Chat Pin
deep7624-Jun-09 4:59
deep7624-Jun-09 4:59 
AnswerRe: Silverlight2Chat Pin
Mark Salsbery24-Jun-09 7:35
Mark Salsbery24-Jun-09 7:35 
GeneralRe: Silverlight2Chat Pin
deep7624-Jun-09 7:41
deep7624-Jun-09 7:41 
GeneralRe: Silverlight2Chat Pin
Mark Salsbery24-Jun-09 7:49
Mark Salsbery24-Jun-09 7:49 
GeneralRe: Silverlight2Chat Pin
deep7624-Jun-09 8:04
deep7624-Jun-09 8:04 
GeneralRe: Silverlight2Chat Pin
Mark Salsbery24-Jun-09 8:25
Mark Salsbery24-Jun-09 8:25 
GeneralRe: Silverlight2Chat Pin
deep7624-Jun-09 8:37
deep7624-Jun-09 8:37 
GeneralRe: Silverlight2Chat Pin
Mark Salsbery24-Jun-09 9:00
Mark Salsbery24-Jun-09 9:00 
GeneralRe: Silverlight2Chat Pin
deep7624-Jun-09 9:52
deep7624-Jun-09 9:52 
QuestionRe: Silverlight2Chat Pin
Mark Salsbery24-Jun-09 12:06
Mark Salsbery24-Jun-09 12:06 
AnswerRe: Silverlight2Chat Pin
deep7624-Jun-09 14:35
deep7624-Jun-09 14:35 
GeneralRe: Silverlight2Chat Pin
Mark Salsbery24-Jun-09 14:46
Mark Salsbery24-Jun-09 14:46 

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.