Click here to Skip to main content
15,904,500 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: LOOP THOUGH THE ROWS OF A TWO COLUMN WPF DATAGRID AND FORM A LIST COLLECTION WITH THE ELEMENTS Pin
Mycroft Holmes7-Apr-12 16:21
professionalMycroft Holmes7-Apr-12 16:21 
Go back and start again, you have completely the wrong idea of how WPF is designed to work. Under no circumstances should you be looping through a xaml control.

WPF is all about binding, first you make your class observable by implementing INotifyChange (this is really easy) then you have an ObservableCollection of your class (system.Collections.Object) which you bind to your datagrid.

When an item is changed in your collection set a flag. When the user saves \then iterate the COLLECTION not the control.
Never underestimate the power of human stupidity
RAH

QuestionWPF Border Drop Shadow Trigger Pin
Kevin Marois6-Apr-12 12:27
professionalKevin Marois6-Apr-12 12:27 
QuestionResource dictionary Pin
michaelgr16-Apr-12 9:46
michaelgr16-Apr-12 9:46 
AnswerRe: Resource dictionary Pin
RobCroll6-Apr-12 12:47
RobCroll6-Apr-12 12:47 
GeneralRe: Resource dictionary Pin
michaelgr16-Apr-12 20:54
michaelgr16-Apr-12 20:54 
GeneralRe: Resource dictionary Pin
RobCroll7-Apr-12 1:53
RobCroll7-Apr-12 1:53 
QuestionWindow Background Image Pin
Kevin Marois6-Apr-12 6:07
professionalKevin Marois6-Apr-12 6:07 
QuestionScript warning in WPF WebBrowser Pin
Mahesha9995-Apr-12 10:08
Mahesha9995-Apr-12 10:08 
QuestionASP Silverlight control unable to call a web service from the debugger Pin
Steve Holdorf5-Apr-12 6:36
Steve Holdorf5-Apr-12 6:36 
AnswerRe: ASP Silverlight control unable to call a web service from the debugger Pin
Abhinav S5-Apr-12 6:47
Abhinav S5-Apr-12 6:47 
QuestionWPF Merged Resource Dictionary Pin
Kevin Marois4-Apr-12 7:06
professionalKevin Marois4-Apr-12 7:06 
GeneralRe: WPF Merged Resource Dictionary Pin
Kevin Marois4-Apr-12 7:34
professionalKevin Marois4-Apr-12 7:34 
GeneralRe: WPF Merged Resource Dictionary Pin
Mycroft Holmes4-Apr-12 14:38
professionalMycroft Holmes4-Apr-12 14:38 
GeneralRe: WPF Merged Resource Dictionary Pin
Kevin Marois5-Apr-12 5:31
professionalKevin Marois5-Apr-12 5:31 
Questionwpf-mediaElement Pin
mane08064-Apr-12 5:44
mane08064-Apr-12 5:44 
AnswerRe: wpf-mediaElement Pin
Pete O'Hanlon4-Apr-12 5:48
mvePete O'Hanlon4-Apr-12 5:48 
QuestionCan we have any website for wpf UI development like http://www.microsoft.com/design/toolbox ? Pin
vish27030074-Apr-12 5:30
vish27030074-Apr-12 5:30 
AnswerRe: Can we have any website for wpf UI development like http://www.microsoft.com/design/toolbox ? Pin
Mycroft Holmes4-Apr-12 14:33
professionalMycroft Holmes4-Apr-12 14:33 
QuestionStill slightly struggling with Binding Pin
Sutton Mehaffey4-Apr-12 5:18
Sutton Mehaffey4-Apr-12 5:18 
AnswerRe: Still slightly struggling with Binding Pin
Pete O'Hanlon4-Apr-12 5:46
mvePete O'Hanlon4-Apr-12 5:46 
GeneralRe: Still slightly struggling with Binding Pin
Sutton Mehaffey4-Apr-12 7:33
Sutton Mehaffey4-Apr-12 7:33 
GeneralRe: Still slightly struggling with Binding Pin
Pete O'Hanlon4-Apr-12 22:53
mvePete O'Hanlon4-Apr-12 22:53 
GeneralRe: Still slightly struggling with Binding Pin
Sutton Mehaffey5-Apr-12 9:02
Sutton Mehaffey5-Apr-12 9:02 
GeneralRe: Still slightly struggling with Binding Pin
Pete O'Hanlon6-Apr-12 2:55
mvePete O'Hanlon6-Apr-12 2:55 
GeneralRe: Still slightly struggling with Binding Pin
Sutton Mehaffey6-Apr-12 4:45
Sutton Mehaffey6-Apr-12 4:45 

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.