Click here to Skip to main content
15,899,313 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Book recommendation Pin
Kevin Marois21-Mar-11 8:03
professionalKevin Marois21-Mar-11 8:03 
GeneralRe: Book recommendation Pin
Richard MacCutchan21-Mar-11 8:39
mveRichard MacCutchan21-Mar-11 8:39 
AnswerRe: Book recommendation Pin
Abhinav S20-Mar-11 20:24
Abhinav S20-Mar-11 20:24 
GeneralRe: Book recommendation Pin
arkiboys20-Mar-11 22:44
arkiboys20-Mar-11 22:44 
GeneralRe: Book recommendation Pin
Richard MacCutchan20-Mar-11 23:29
mveRichard MacCutchan20-Mar-11 23:29 
GeneralRe: Book recommendation Pin
arkiboys20-Mar-11 23:44
arkiboys20-Mar-11 23:44 
QuestionShow datagrid rowdetail template on click of DataGridCheckBoxColumn Pin
Ankur Cistems18-Mar-11 1:26
Ankur Cistems18-Mar-11 1:26 
AnswerRe: Show datagrid rowdetail template on click of DataGridCheckBoxColumn Pin
Pete O'Hanlon18-Mar-11 2:11
mvePete O'Hanlon18-Mar-11 2:11 
Basically, you need to handle IEditableCollectionView. When you click your checkbox, you'll start off by triggering the AddNew method where you'll add a new instance to the underlying collection; as this is databound you will update the UI automatically (you'll need to supply an add/edit datatemplate). If the user is happy with the data they entered, your code calls CommitNew; if they are unhappy, your code calls CancelNew (where the item is removed from the ObservableCollection). And that's it - you've just added the functionality you need to add/edit objects.

I have a post here[^] (it's WPF, but you should be able to easily adapt it to Silverlight) that covers how to do this with a sample set of classes to make things easier for you.

I'm not a stalker, I just know things. Oh by the way, you're out of milk.

Forgive your enemies - it messes with their heads


My blog | My articles | MoXAML PowerToys | Onyx


GeneralRe: Show datagrid rowdetail template on click of DataGridCheckBoxColumn Pin
Ankur Cistems18-Mar-11 2:27
Ankur Cistems18-Mar-11 2:27 
GeneralRe: Show datagrid rowdetail template on click of DataGridCheckBoxColumn Pin
Pete O'Hanlon18-Mar-11 2:31
mvePete O'Hanlon18-Mar-11 2:31 
GeneralRe: Show datagrid rowdetail template on click of DataGridCheckBoxColumn Pin
Ankur Cistems18-Mar-11 2:57
Ankur Cistems18-Mar-11 2:57 
GeneralRe: Show datagrid rowdetail template on click of DataGridCheckBoxColumn Pin
Mycroft Holmes18-Mar-11 14:19
professionalMycroft Holmes18-Mar-11 14:19 
GeneralRe: Show datagrid rowdetail template on click of DataGridCheckBoxColumn Pin
Pete O'Hanlon18-Mar-11 23:10
mvePete O'Hanlon18-Mar-11 23:10 
GeneralRe: Show datagrid rowdetail template on click of DataGridCheckBoxColumn Pin
Ankur Cistems20-Mar-11 21:11
Ankur Cistems20-Mar-11 21:11 
QuestionBinding to a RepeatBehavior property Pin
Lutosław17-Mar-11 11:18
Lutosław17-Mar-11 11:18 
AnswerRe: Binding to a RepeatBehavior property Pin
Lutosław17-Mar-11 11:20
Lutosław17-Mar-11 11:20 
GeneralRe: Binding to a RepeatBehavior property Pin
Pete O'Hanlon17-Mar-11 11:30
mvePete O'Hanlon17-Mar-11 11:30 
QuestionCustom Pagination with WCF Service and stored proc. Pin
Member 776277317-Mar-11 4:53
Member 776277317-Mar-11 4:53 
AnswerRe: Custom Pagination with WCF Service and stored proc. Pin
Mycroft Holmes17-Mar-11 12:43
professionalMycroft Holmes17-Mar-11 12:43 
QuestionHow get & set pixel in WPFapplication? Pin
humais16-Mar-11 4:48
humais16-Mar-11 4:48 
AnswerRe: How get & set pixel in WPFapplication? Pin
John Schroedl20-Mar-11 9:55
professionalJohn Schroedl20-Mar-11 9:55 
Questionsorting autocompletebox items (wpf toolkit) Pin
Moonwalker03115-Mar-11 22:35
Moonwalker03115-Mar-11 22:35 
AnswerRe: sorting autocompletebox items (wpf toolkit) Pin
Mycroft Holmes15-Mar-11 23:18
professionalMycroft Holmes15-Mar-11 23:18 
GeneralRe: sorting autocompletebox items (wpf toolkit) Pin
Moonwalker03116-Mar-11 0:50
Moonwalker03116-Mar-11 0:50 
GeneralRe: sorting autocompletebox items (wpf toolkit) Pin
Mycroft Holmes16-Mar-11 1:13
professionalMycroft Holmes16-Mar-11 1:13 

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.