Click here to Skip to main content
16,005,236 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: incorrect value retrieved. Pin
Pete O'Hanlon12-May-11 2:12
mvePete O'Hanlon12-May-11 2:12 
GeneralRe: incorrect value retrieved. Pin
arkiboys12-May-11 3:09
arkiboys12-May-11 3:09 
GeneralRe: incorrect value retrieved. Pin
Wayne Gaylard12-May-11 2:26
professionalWayne Gaylard12-May-11 2:26 
GeneralRe: incorrect value retrieved. Pin
Ian Shlasko12-May-11 3:16
Ian Shlasko12-May-11 3:16 
AnswerRe: incorrect value retrieved. Pin
Abhinav S11-May-11 6:27
Abhinav S11-May-11 6:27 
QuestionUse of Observablecollection in Silverlight Pin
Member 455049311-May-11 3:17
Member 455049311-May-11 3:17 
AnswerRe: Use of Observablecollection in Silverlight Pin
Ian Shlasko11-May-11 3:27
Ian Shlasko11-May-11 3:27 
GeneralRe: Use of Observablecollection in Silverlight Pin
Member 455049311-May-11 4:56
Member 455049311-May-11 4:56 
GeneralRe: Use of Observablecollection in Silverlight Pin
Ian Shlasko11-May-11 5:11
Ian Shlasko11-May-11 5:11 
GeneralRe: Use of Observablecollection in Silverlight Pin
Member 455049311-May-11 5:42
Member 455049311-May-11 5:42 
GeneralRe: Use of Observablecollection in Silverlight Pin
Ian Shlasko11-May-11 6:03
Ian Shlasko11-May-11 6:03 
GeneralRe: Use of Observablecollection in Silverlight Pin
Pete O'Hanlon11-May-11 6:31
mvePete O'Hanlon11-May-11 6:31 
GeneralRe: Use of Observablecollection in Silverlight Pin
Member 455049312-May-11 6:01
Member 455049312-May-11 6:01 
GeneralRe: Use of Observablecollection in Silverlight Pin
Pete O'Hanlon12-May-11 6:21
mvePete O'Hanlon12-May-11 6:21 
QuestionDataGrid - CheckBox selection from Code. Pin
Nanda_MR10-May-11 18:39
Nanda_MR10-May-11 18:39 
AnswerRe: DataGrid - CheckBox selection from Code. Pin
Pete O'Hanlon10-May-11 19:29
mvePete O'Hanlon10-May-11 19:29 
QuestionOverriding the default keys used to navigate in RadioButtons [WPF] [VB] Pin
Jayme6510-May-11 11:07
Jayme6510-May-11 11:07 
AnswerRe: Overriding the default keys used to navigate in RadioButtons [WPF] [VB] Pin
SledgeHammer0110-May-11 11:55
SledgeHammer0110-May-11 11:55 
GeneralRe: Overriding the default keys used to navigate in RadioButtons [WPF] [VB] Pin
Jayme6510-May-11 12:58
Jayme6510-May-11 12:58 
AnswerRe: Overriding the default keys used to navigate in RadioButtons [WPF] [VB] Pin
Mark Salsbery10-May-11 12:04
Mark Salsbery10-May-11 12:04 
QuestionProblem in VisualTreeHelper.GetParent. Please guide me Pin
Hema Bairavan10-May-11 6:44
Hema Bairavan10-May-11 6:44 
AnswerRe: Problem in VisualTreeHelper.GetParent. Please guide me [modified] Pin
Mark Salsbery10-May-11 8:46
Mark Salsbery10-May-11 8:46 
GeneralRe: Problem in VisualTreeHelper.GetParent. Please guide me Pin
Hema Bairavan10-May-11 22:57
Hema Bairavan10-May-11 22:57 
QuestionRe: Problem in VisualTreeHelper.GetParent. Please guide me Pin
Mark Salsbery11-May-11 4:49
Mark Salsbery11-May-11 4:49 
I didn't just post a guess Smile | :)

I copied your code into Visual Studio and ran it in debugger and immediately saw your "sender as Microsoft.Windows.Controls.DataGridCell" return NULL.

Commented out that line and changed it to what I showed and it worked fine.

Maybe the other window that works has different code?

And why are you trying to find the DataGrid this way when you already have access to the DataGrid?
Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

QuestionWPF Datagrid and MVVM - Binding CellStyle to a ViewModel Property Pin
Nicolai Schrade10-May-11 5:01
Nicolai Schrade10-May-11 5:01 

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.