Click here to Skip to main content
15,886,067 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Don't bump your post. Pin
haticeaaaaaa5-Feb-09 2:45
haticeaaaaaa5-Feb-09 2:45 
GeneralRe: Don't bump your post. Pin
Pete O'Hanlon5-Feb-09 3:07
mvePete O'Hanlon5-Feb-09 3:07 
QuestionSending Email Pin
Ray Cassick4-Feb-09 15:29
Ray Cassick4-Feb-09 15:29 
AnswerRe: Sending Email Pin
Michael Sync8-Feb-09 6:36
Michael Sync8-Feb-09 6:36 
GeneralRe: Sending Email Pin
Ray Cassick8-Feb-09 13:08
Ray Cassick8-Feb-09 13:08 
GeneralRe: Sending Email Pin
Braulio Dez13-Mar-09 6:27
Braulio Dez13-Mar-09 6:27 
AnswerRe: Sending Email Pin
Kevin McFarlane8-Feb-09 7:24
Kevin McFarlane8-Feb-09 7:24 
QuestionBinding To One Object Or To A Property Pin
BlitzPackage4-Feb-09 15:14
BlitzPackage4-Feb-09 15:14 
Ok, so I know how to bind to a collection (of course using an "observable collection" like any proper WPF gentry). However, supposed I want to bind a control to just one object that is not a collection.

Say for instance, I just want to bind the customer's information to a control so that they can see their name, address, phone numbers, and make any changes they desire. This does not require a collection of objects, just one Customer object. So, since it's one object, how do I ensure, for example, two-way binding so that whatever they change is updated? Or does it do this automatically for binding to one object?

Also, is it possible to bind to a property of an object? I have a user control (LittleControl) that is part of another user control (BigControl). If I bind BigControl to Customer, can I bind LittleControl to Customer.Benefits? How do I do this in the XAML?

Thanks in advance.

Blitz
AnswerRe: Binding To One Object Or To A Property Pin
Pete O'Hanlon4-Feb-09 23:32
mvePete O'Hanlon4-Feb-09 23:32 
GeneralRe: Binding To One Object Or To A Property Pin
BlitzPackage5-Feb-09 2:12
BlitzPackage5-Feb-09 2:12 
GeneralRe: Binding To One Object Or To A Property Pin
Pete O'Hanlon5-Feb-09 2:54
mvePete O'Hanlon5-Feb-09 2:54 
GeneralRe: Binding To One Object Or To A Property Pin
BlitzPackage5-Feb-09 7:08
BlitzPackage5-Feb-09 7:08 
GeneralRe: Binding To One Object Or To A Property Pin
Pete O'Hanlon5-Feb-09 10:40
mvePete O'Hanlon5-Feb-09 10:40 
GeneralRe: Binding To One Object Or To A Property Pin
BlitzPackage6-Feb-09 9:42
BlitzPackage6-Feb-09 9:42 
GeneralRe: Binding To One Object Or To A Property Pin
Pete O'Hanlon6-Feb-09 10:53
mvePete O'Hanlon6-Feb-09 10:53 
QuestionMessage Removed Pin
4-Feb-09 10:34
professionalN_tro_P4-Feb-09 10:34 
AnswerMessage Removed Pin
4-Feb-09 10:55
professionalN_tro_P4-Feb-09 10:55 
GeneralRe: DataTemplate list Horizontally Pin
Gideon Engelberth4-Feb-09 12:04
Gideon Engelberth4-Feb-09 12:04 
GeneralMessage Removed Pin
5-Feb-09 4:36
professionalN_tro_P5-Feb-09 4:36 
GeneralRe: DataTemplate list Horizontally Pin
Gideon Engelberth5-Feb-09 6:30
Gideon Engelberth5-Feb-09 6:30 
GeneralMessage Removed Pin
5-Feb-09 8:29
professionalN_tro_P5-Feb-09 8:29 
GeneralMessage Removed Pin
6-Feb-09 3:02
professionalN_tro_P6-Feb-09 3:02 
GeneralMessage Removed Pin
6-Feb-09 6:02
professionalN_tro_P6-Feb-09 6:02 
GeneralRe: DataTemplate list Horizontally Pin
Gideon Engelberth6-Feb-09 7:13
Gideon Engelberth6-Feb-09 7:13 
QuestionMessage Removed Pin
4-Feb-09 5:55
professionalN_tro_P4-Feb-09 5:55 

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.