Click here to Skip to main content
15,890,947 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: ListBox DataItemTemplate And Multiple Object Types Pin
Mark Salsbery4-Mar-09 8:29
Mark Salsbery4-Mar-09 8:29 
GeneralRe: ListBox DataItemTemplate And Multiple Object Types Pin
BlitzPackage4-Mar-09 8:42
BlitzPackage4-Mar-09 8:42 
GeneralRe: ListBox DataItemTemplate And Multiple Object Types Pin
Mark Salsbery4-Mar-09 8:49
Mark Salsbery4-Mar-09 8:49 
GeneralRe: ListBox DataItemTemplate And Multiple Object Types Pin
BlitzPackage4-Mar-09 9:55
BlitzPackage4-Mar-09 9:55 
GeneralRe: ListBox DataItemTemplate And Multiple Object Types Pin
Mark Salsbery4-Mar-09 10:01
Mark Salsbery4-Mar-09 10:01 
GeneralRe: ListBox DataItemTemplate And Multiple Object Types Pin
BlitzPackage4-Mar-09 10:42
BlitzPackage4-Mar-09 10:42 
QuestionWPF ComboBox using Llinq Pin
GomathiR4-Mar-09 1:38
GomathiR4-Mar-09 1:38 
AnswerRe: WPF ComboBox using Llinq Pin
ABitSmart4-Mar-09 1:52
ABitSmart4-Mar-09 1:52 
GomathiR wrote:
text1.text=value.ToString();N/blockquote>
Because you are doing a ToString() on the object. You would need to use the objects porperty value.
e.g.
var value=additem.SelectedItem as YourObject; //YourObject is the object type which is the databound for each item
text1.text = value.PropertyInYourObject;



You can do it in XAML itself also, databinding the Text property of text1. See if this works,
Text = ="{Binding ElementName=additem,Path=SelectedItem}"

GeneralRe: WPF ComboBox using Llinq Pin
BlitzPackage4-Mar-09 10:43
BlitzPackage4-Mar-09 10:43 
GeneralRe: WPF ComboBox using Llinq Pin
GomathiR4-Mar-09 18:20
GomathiR4-Mar-09 18:20 
GeneralRe: WPF ComboBox using Llinq Pin
ABitSmart4-Mar-09 18:25
ABitSmart4-Mar-09 18:25 
QuestionActual experience with WF Pin
Asher Barak3-Mar-09 22:35
professionalAsher Barak3-Mar-09 22:35 
AnswerRe: Actual experience with WF Pin
Wes Aday4-Mar-09 7:57
professionalWes Aday4-Mar-09 7:57 
GeneralRe: Actual experience with WF Pin
Asher Barak12-Mar-09 0:49
professionalAsher Barak12-Mar-09 0:49 
QuestionMfc Dll to be hoisted in WPF Pin
VCsamir3-Mar-09 19:02
VCsamir3-Mar-09 19:02 
AnswerRe: Mfc Dll to be hoisted in WPF Pin
ABitSmart3-Mar-09 19:41
ABitSmart3-Mar-09 19:41 
Question[Message Deleted] Pin
Prajeesh3-Mar-09 18:32
Prajeesh3-Mar-09 18:32 
AnswerRe: Popup Menu from a button Pin
ABitSmart3-Mar-09 19:07
ABitSmart3-Mar-09 19:07 
General[Message Deleted] Pin
Prajeesh3-Mar-09 19:58
Prajeesh3-Mar-09 19:58 
GeneralRe: Popup Menu from a button Pin
ABitSmart3-Mar-09 20:22
ABitSmart3-Mar-09 20:22 
AnswerRe: Popup Menu from a button - Repost Pin
ABitSmart3-Mar-09 19:30
ABitSmart3-Mar-09 19:30 
QuestionWPF language issue Please help very urgnet Pin
psdeepu3-Mar-09 16:08
psdeepu3-Mar-09 16:08 
AnswerRe: WPF language issue Please help very urgnet Pin
ABitSmart3-Mar-09 19:12
ABitSmart3-Mar-09 19:12 
QuestionRe: WPF language issue Please help very urgnet Pin
psdeepu4-Mar-09 7:43
psdeepu4-Mar-09 7:43 
QuestionRe: WPF language issue Please help very urgnet Pin
psdeepu4-Mar-09 8:00
psdeepu4-Mar-09 8:00 

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.