Click here to Skip to main content
15,914,413 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: HypreLink in WPF User control. Pin
Leung Yat Chun8-Feb-09 0:26
Leung Yat Chun8-Feb-09 0:26 
QuestionHosting Workflow designer inside a ASP.net application Pin
Laddie5-Feb-09 19:00
Laddie5-Feb-09 19:00 
AnswerRe: Hosting Workflow designer inside a ASP.net application Pin
Pete O'Hanlon5-Feb-09 22:54
mvePete O'Hanlon5-Feb-09 22:54 
GeneralRe: Hosting Workflow designer inside a ASP.net application Pin
Laddie5-Feb-09 23:01
Laddie5-Feb-09 23:01 
QuestionWPF storyboard and animation Pin
koleraba5-Feb-09 8:50
koleraba5-Feb-09 8:50 
AnswerRe: WPF storyboard and animation [modified] Pin
sivaddrahcir6-Feb-09 12:17
sivaddrahcir6-Feb-09 12:17 
GeneralRe: WPF storyboard and animation Pin
koleraba7-Feb-09 2:06
koleraba7-Feb-09 2:06 
Questionlink a custom control to a dictionaryResources Pin
Rami Shareef5-Feb-09 2:10
Rami Shareef5-Feb-09 2:10 
AnswerRe: link a custom control to a dictionaryResources Pin
BlitzPackage5-Feb-09 8:30
BlitzPackage5-Feb-09 8:30 
QuestionWPF window in ICQ style Pin
prattel4-Feb-09 23:16
prattel4-Feb-09 23:16 
AnswerRe: WPF window in ICQ style Pin
Pete O'Hanlon5-Feb-09 0:09
mvePete O'Hanlon5-Feb-09 0:09 
GeneralRe: WPF window in ICQ style [modified] Pin
sivaddrahcir6-Feb-09 7:30
sivaddrahcir6-Feb-09 7:30 
QuestionPlease help me Pin
haticeaaaaaa4-Feb-09 20:39
haticeaaaaaa4-Feb-09 20:39 
AnswerDon't bump your post. Pin
Pete O'Hanlon4-Feb-09 23:39
mvePete O'Hanlon4-Feb-09 23:39 
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 
AnswerRe: Binding To One Object Or To A Property Pin
Pete O'Hanlon4-Feb-09 23:32
mvePete O'Hanlon4-Feb-09 23:32 
It's easy to bind to a single item (and to ensure two way binding). All you need to do to the object is ensure that it uses INotifyPropertyChanged to raise notifications when properties change. If you look at this[^] blog entry, you can see how I bind to a simple class - it really is very straightforward.

BlitzPackage wrote:
Also, is it possible to bind to a property of an object?


Yes. In your case, LittleControl "belongs" to BigControl, so LittleControl is able to walk all the way back up the logical tree looking for the data context, and use this to bind to the object. This means that it can use {Binding Path=Customer.Benefits}.

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

My blog | My articles | MoXAML PowerToys



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 

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.