Click here to Skip to main content
15,918,193 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Progress Bar Not Updating [SOLVED (kind of)] Pin
#realJSOP5-Jun-09 12:41
professional#realJSOP5-Jun-09 12:41 
GeneralRe: Progress Bar Not Updating [SOLVED (kind of)] Pin
Mark Salsbery5-Jun-09 12:47
Mark Salsbery5-Jun-09 12:47 
AnswerRe: Progress Bar Not Updating [SOLVED (kind of)] Pin
Raja.Lakshman3-Apr-10 18:08
Raja.Lakshman3-Apr-10 18:08 
QuestionProgress Bar and the BackGroundWorker Pin
Etienne_1235-Jun-09 2:25
Etienne_1235-Jun-09 2:25 
AnswerRe: Progress Bar and the BackGroundWorker Pin
ABitSmart5-Jun-09 3:36
ABitSmart5-Jun-09 3:36 
AnswerRe: Progress Bar and the BackGroundWorker Pin
Mark Salsbery5-Jun-09 6:15
Mark Salsbery5-Jun-09 6:15 
QuestionHow to FindControls in ListView Pin
Glyn1235-Jun-09 1:25
Glyn1235-Jun-09 1:25 
AnswerRe: How to FindControls in ListView Pin
Pete O'Hanlon5-Jun-09 2:00
mvePete O'Hanlon5-Jun-09 2:00 
Change your thinking round so that you aren't considering the problem from how you get the data from the interface, as this is the wrong place to do it. Instead, think about using two-way binding to update your model, and save your changes from this.

What I would do is create a model that included a boolean field for the checkbox, and a string field for the textbox. When you bind your listview, set up these fields as binding targets using the standard Text="{Binding Path=..., Mode=TwoWay}" and IsChecked="{Binding Path=..., Mode=TwoWay}" syntax. You now have a simple mechanism for tackling this problem.

"WPF has many lovers. It's a veritable porn star!" - Josh Smith

As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.


My blog | My articles | MoXAML PowerToys | Onyx



GeneralRe: How to FindControls in ListView Pin
Glyn1235-Jun-09 4:03
Glyn1235-Jun-09 4:03 
GeneralRe: How to FindControls in ListView Pin
Pete O'Hanlon5-Jun-09 4:14
mvePete O'Hanlon5-Jun-09 4:14 
GeneralRe: How to FindControls in ListView Pin
Glyn1238-Jun-09 2:23
Glyn1238-Jun-09 2:23 
GeneralRe: How to FindControls in ListView Pin
Pete O'Hanlon8-Jun-09 5:04
mvePete O'Hanlon8-Jun-09 5:04 
QuestionPage turn in wpf 3d Pin
AmirHossein.M.Ojvar4-Jun-09 20:50
AmirHossein.M.Ojvar4-Jun-09 20:50 
AnswerRe: Page turn in wpf 3d Pin
Pete O'Hanlon4-Jun-09 21:55
mvePete O'Hanlon4-Jun-09 21:55 
QuestionText and Image in header in listview Pin
krishnan.s4-Jun-09 20:16
krishnan.s4-Jun-09 20:16 
AnswerRe: Text and Image in header in listview Pin
Mark Salsbery4-Jun-09 21:14
Mark Salsbery4-Jun-09 21:14 
GeneralRe: Text and Image in header in listview Pin
krishnan.s4-Jun-09 21:45
krishnan.s4-Jun-09 21:45 
GeneralRe: Text and Image in header in listview Pin
Mark Salsbery5-Jun-09 6:25
Mark Salsbery5-Jun-09 6:25 
QuestionBinding problem: Set a source of a 'Source' property. Pin
Lutosław4-Jun-09 11:09
Lutosław4-Jun-09 11:09 
AnswerRe: Binding problem: Set a source of a 'Source' property. Pin
User 2710098-Jun-09 18:27
User 2710098-Jun-09 18:27 
GeneralRe: Binding problem: Set a source of a 'Source' property. Pin
Lutosław9-Jun-09 10:57
Lutosław9-Jun-09 10:57 
GeneralRe: Binding problem: Set a source of a 'Source' property. Pin
User 27100910-Jun-09 18:08
User 27100910-Jun-09 18:08 
GeneralRe: Binding problem: Set a source of a 'Source' property. Pin
Lutosław11-Jun-09 3:26
Lutosław11-Jun-09 3:26 
GeneralRe: Binding problem: Set a source of a 'Source' property. Pin
User 27100918-Jun-09 18:42
User 27100918-Jun-09 18:42 
GeneralRe: Binding problem: Set a source of a 'Source' property. Pin
Lutosław19-Jun-09 4:32
Lutosław19-Jun-09 4:32 

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.