Click here to Skip to main content
15,905,782 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Creating user control for WPF Pin
Charith Jayasundara11-Oct-08 15:33
Charith Jayasundara11-Oct-08 15:33 
GeneralRe: Creating user control for WPF Pin
User 27100911-Oct-08 15:38
User 27100911-Oct-08 15:38 
QuestionHow to create a stacked of 3 images that can be rotated and zoomed in WPF Pin
garlover8-Oct-08 15:46
garlover8-Oct-08 15:46 
AnswerRe: How to create a stacked of 3 images that can be rotated and zoomed in WPF Pin
ColinM1238-Oct-08 18:46
ColinM1238-Oct-08 18:46 
QuestionDatabinding driving me crazy! Pin
esjq8-Oct-08 10:15
esjq8-Oct-08 10:15 
AnswerRe: Databinding driving me crazy! Pin
Adam Maras8-Oct-08 10:39
Adam Maras8-Oct-08 10:39 
AnswerRe: Databinding driving me crazy! Pin
Pete O'Hanlon8-Oct-08 11:47
mvePete O'Hanlon8-Oct-08 11:47 
GeneralRe: Databinding driving me crazy! Pin
ColinM1238-Oct-08 12:32
ColinM1238-Oct-08 12:32 
Yeah, as Pete indicated you need a datatemplate as the listbox doesn't know how to display a Friend object so it just calls the ToString method.

You can move the datatemplate into a resource section. Such as Window.Resources or even Application.Resources. Another neat thing is if you set the DataType on the DataTemplate to your Friend object, it will be used automatically display it. Along the lines of this:

<datatemplate datatype="{x:Type local:Friend}">
....

AnswerRe: Databinding driving me crazy! Pin
esjq9-Oct-08 10:25
esjq9-Oct-08 10:25 
GeneralRe: Databinding driving me crazy! Pin
Pete O'Hanlon9-Oct-08 22:01
mvePete O'Hanlon9-Oct-08 22:01 
QuestionMoXAML Power Toys 2 just released. Pin
Pete O'Hanlon7-Oct-08 12:11
mvePete O'Hanlon7-Oct-08 12:11 
AnswerRe: MoXAML Power Toys 2 just released. Pin
Mark Salsbery8-Oct-08 13:03
Mark Salsbery8-Oct-08 13:03 
GeneralRe: MoXAML Power Toys 2 just released. Pin
Pete O'Hanlon8-Oct-08 21:44
mvePete O'Hanlon8-Oct-08 21:44 
GeneralRe: MoXAML Power Toys 2 just released. Pin
User 27100910-Oct-08 0:40
User 27100910-Oct-08 0:40 
QuestionUIElement and InotifyPropertyChanged Pin
ezazazel7-Oct-08 2:07
ezazazel7-Oct-08 2:07 
AnswerRe: UIElement and InotifyPropertyChanged Pin
Insincere Dave7-Oct-08 6:48
Insincere Dave7-Oct-08 6:48 
GeneralRe: UIElement and InotifyPropertyChanged Pin
ezazazel7-Oct-08 7:08
ezazazel7-Oct-08 7:08 
GeneralControl in ItemTemplate can't bind to owner control dependency property? [modified] Pin
Zvorko7-Oct-08 1:31
Zvorko7-Oct-08 1:31 
AnswerRe: Control in ItemTemplate can't bind to owner control dependency property? Pin
User 27100910-Oct-08 0:45
User 27100910-Oct-08 0:45 
GeneralRe: Control in ItemTemplate can't bind to owner control dependency property? Pin
Zvorko10-Oct-08 0:52
Zvorko10-Oct-08 0:52 
GeneralRe: Control in ItemTemplate can't bind to owner control dependency property? Pin
User 27100910-Oct-08 0:54
User 27100910-Oct-08 0:54 
GeneralRe: Control in ItemTemplate can't bind to owner control dependency property? Pin
Zvorko10-Oct-08 1:27
Zvorko10-Oct-08 1:27 
GeneralRe: Control in ItemTemplate can't bind to owner control dependency property? Pin
User 27100910-Oct-08 1:33
User 27100910-Oct-08 1:33 
GeneralRe: Control in ItemTemplate can't bind to owner control dependency property? Pin
Zvorko10-Oct-08 1:43
Zvorko10-Oct-08 1:43 
GeneralRe: Control in ItemTemplate can't bind to owner control dependency property? Pin
User 27100910-Oct-08 1:46
User 27100910-Oct-08 1:46 

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.