Click here to Skip to main content
15,902,198 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Silverlight SDK Pin
Arun Jacob14-Sep-09 20:48
Arun Jacob14-Sep-09 20:48 
GeneralRe: Silverlight SDK Pin
CrazyCoder2614-Sep-09 21:02
CrazyCoder2614-Sep-09 21:02 
GeneralRe: Silverlight SDK Pin
Arun Jacob15-Sep-09 1:53
Arun Jacob15-Sep-09 1:53 
Questiondatabase connectivity Pin
Aryan198214-Sep-09 12:26
Aryan198214-Sep-09 12:26 
AnswerRe: database connectivity Pin
Arun Jacob14-Sep-09 18:43
Arun Jacob14-Sep-09 18:43 
Questionsilverlight Pin
Aryan198214-Sep-09 12:19
Aryan198214-Sep-09 12:19 
AnswerRe: silverlight Pin
Mark Salsbery15-Sep-09 5:08
Mark Salsbery15-Sep-09 5:08 
QuestionListBox displaying of items problem Pin
Zammy_bg14-Sep-09 4:00
Zammy_bg14-Sep-09 4:00 
Hello,

I have this class:
public class GameObject : ObservableCollection<Property>
  {
      public string Name { get; set; }

      public override string ToString()
      {
          return Name;
      }
  }

Property is my own class.

When I add it to a ListBox it does not call the ToString() method but rather just shows (Collection) in the list box.
Isnt that a bug? Smile | :) At least seems weird to me. I do not want to change the class heirarchy from inheritance to composition for this problem but if I do not have a choice ill do it.
AnswerRe: ListBox displaying of items problem Pin
Pete O'Hanlon14-Sep-09 4:42
mvePete O'Hanlon14-Sep-09 4:42 
GeneralRe: ListBox displaying of items problem Pin
Richard MacCutchan14-Sep-09 21:43
mveRichard MacCutchan14-Sep-09 21:43 
GeneralRe: ListBox displaying of items problem Pin
Pete O'Hanlon14-Sep-09 22:59
mvePete O'Hanlon14-Sep-09 22:59 
Questionidea/help in designing forum Pin
hrishiS14-Sep-09 1:14
hrishiS14-Sep-09 1:14 
AnswerRe: idea/help in designing forum Pin
Michael Sync14-Sep-09 1:54
Michael Sync14-Sep-09 1:54 
QuestionDynamically change the location of controls in silverlight Pin
Nekkantidivya13-Sep-09 20:36
Nekkantidivya13-Sep-09 20:36 
QuestionWPF animations hardware requirements Pin
koleraba13-Sep-09 11:12
koleraba13-Sep-09 11:12 
AnswerRe: WPF animations hardware requirements Pin
Christian Graus13-Sep-09 13:51
protectorChristian Graus13-Sep-09 13:51 
AnswerRe: WPF animations hardware requirements Pin
Mark Salsbery14-Sep-09 10:35
Mark Salsbery14-Sep-09 10:35 
QuestionCan I use excel spreadsheet as a datagrid In a WPF Client? Pin
bgundas12-Sep-09 12:08
bgundas12-Sep-09 12:08 
QuestionDyanmically assign source to a Medial element. Pin
Nekkantidivya12-Sep-09 2:01
Nekkantidivya12-Sep-09 2:01 
AnswerRe: Dyanmically assign source to a Medial element. Pin
Mark Salsbery12-Sep-09 7:14
Mark Salsbery12-Sep-09 7:14 
QuestionGetting ObservableCollection ThreadSafe Pin
ezazazel11-Sep-09 4:35
ezazazel11-Sep-09 4:35 
AnswerRe: Getting ObservableCollection ThreadSafe Pin
Pete O'Hanlon11-Sep-09 4:40
mvePete O'Hanlon11-Sep-09 4:40 
GeneralRe: Getting ObservableCollection ThreadSafe Pin
ezazazel11-Sep-09 5:08
ezazazel11-Sep-09 5:08 
QuestionSave the video from the Openfile dialog to a folder Pin
Nekkantidivya11-Sep-09 2:49
Nekkantidivya11-Sep-09 2:49 
QuestionUpload and display videos Pin
Nekkantidivya10-Sep-09 19:03
Nekkantidivya10-Sep-09 19:03 

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.