Click here to Skip to main content
15,912,400 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: WPF Pan limitation Pin
Pete O'Hanlon22-Mar-11 3:31
mvePete O'Hanlon22-Mar-11 3:31 
QuestionImage Viewer Using Silverlight Pin
NTheOne21-Mar-11 2:10
NTheOne21-Mar-11 2:10 
AnswerRe: Image Viewer Using Silverlight Pin
Pete O'Hanlon21-Mar-11 2:39
mvePete O'Hanlon21-Mar-11 2:39 
QuestionFamily tree control in silverlight Pin
Nitin Singh India20-Mar-11 21:48
Nitin Singh India20-Mar-11 21:48 
AnswerRe: Family tree control in silverlight Pin
RobCroll20-Mar-11 21:59
RobCroll20-Mar-11 21:59 
GeneralRe: Family tree control in silverlight Pin
Nitin Singh India21-Mar-11 6:31
Nitin Singh India21-Mar-11 6:31 
GeneralRe: Family tree control in silverlight Pin
Nitin Singh India24-Mar-11 2:21
Nitin Singh India24-Mar-11 2:21 
AnswerRe: Family tree control in silverlight Pin
Pete O'Hanlon21-Mar-11 2:32
mvePete O'Hanlon21-Mar-11 2:32 
QuestionData binding in WPF Pin
Razanust19-Mar-11 20:25
Razanust19-Mar-11 20:25 
AnswerRe: Data binding in WPF Pin
Keith Barrow20-Mar-11 4:04
professionalKeith Barrow20-Mar-11 4:04 
AnswerRe: Data binding in WPF Pin
Abhinav S21-Mar-11 6:46
Abhinav S21-Mar-11 6:46 
QuestionShowing another window using visible property. Pin
Razanust19-Mar-11 18:11
Razanust19-Mar-11 18:11 
AnswerRe: Showing another window using visible property. Pin
RobCroll20-Mar-11 3:05
RobCroll20-Mar-11 3:05 
QuestionBook recommendation PinPopular
arkiboys18-Mar-11 3:43
arkiboys18-Mar-11 3:43 
AnswerRe: Book recommendation Pin
Richard MacCutchan19-Mar-11 22:29
mveRichard MacCutchan19-Mar-11 22:29 
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 

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.