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

WPF

 
AnswerRe: Chat application in wpf using TCp/IP Pin
Ray Cassick20-Apr-09 5:42
Ray Cassick20-Apr-09 5:42 
GeneralRe: Chat application in wpf using TCp/IP Pin
JS 200820-Apr-09 17:48
JS 200820-Apr-09 17:48 
QuestionWPF ComboBox Pin
mark_w_20-Apr-09 5:02
mark_w_20-Apr-09 5:02 
AnswerRe: WPF ComboBox Pin
Insincere Dave20-Apr-09 16:30
Insincere Dave20-Apr-09 16:30 
GeneralRe: WPF ComboBox Pin
mark_w_20-Apr-09 22:11
mark_w_20-Apr-09 22:11 
GeneralRe: WPF ComboBox Pin
mark_w_21-Apr-09 0:08
mark_w_21-Apr-09 0:08 
AnswerRe: WPF ComboBox Pin
Mark Salsbery21-Apr-09 6:13
Mark Salsbery21-Apr-09 6:13 
GeneralRe: WPF ComboBox Pin
mark_w_21-Apr-09 22:33
mark_w_21-Apr-09 22:33 
Many thanks for your reply.

That still does not do what i want, i am starting to think that i am going about this the wrong way Frown | :(


Put simply what i need is a combobox with a datasource of list of my objects (all the same type). Then when the form loads i want the combobox to have preselected an object of my choice (what ever was saved in xml/db)

I am new to wpf and the mvvm pattern, and this is getting a bit frustrating!!

ps for info i changed the colour class to the following as the other throw an exception

public class Colour
{
   public string Description { get; set; }
    public override bool Equals(object obj)
    {
        if(obj.GetType()== typeof(Colour))
        return this.Description == ((Colour) obj).Description;

        return base.Equals(obj);
    }

    public override int GetHashCode()
    {
        return base.GetHashCode() ^ this.Description.GetHashCode();
    }


}

QuestionAnalog CLock in WPF Pin
kiemchung20-Apr-09 0:57
kiemchung20-Apr-09 0:57 
AnswerRe: Analog CLock in WPF Pin
Pete O'Hanlon20-Apr-09 1:32
mvePete O'Hanlon20-Apr-09 1:32 
QuestionThrowing videos using Silverlight Pin
pavanip19-Apr-09 20:24
pavanip19-Apr-09 20:24 
AnswerRe: Throwing videos using Silverlight Pin
Michael Sync23-Jul-09 20:47
Michael Sync23-Jul-09 20:47 
QuestionCFormView in WPF Pin
Member 377636719-Apr-09 18:13
Member 377636719-Apr-09 18:13 
AnswerRe: CFormView in WPF Pin
Pete O'Hanlon19-Apr-09 21:52
mvePete O'Hanlon19-Apr-09 21:52 
QuestionPerformance - Memory Usage Pin
Jammer19-Apr-09 9:24
Jammer19-Apr-09 9:24 
AnswerRe: Performance - Memory Usage Pin
Roman Lerman20-Apr-09 22:14
Roman Lerman20-Apr-09 22:14 
GeneralRe: Performance - Memory Usage Pin
Jammer21-Apr-09 8:26
Jammer21-Apr-09 8:26 
QuestionDatabinding in UserControl [modified] Pin
mikla52119-Apr-09 6:43
mikla52119-Apr-09 6:43 
AnswerRe: Databinding in UserControl Pin
Mark Salsbery19-Apr-09 7:44
Mark Salsbery19-Apr-09 7:44 
GeneralRe: Databinding in UserControl Pin
mikla52119-Apr-09 18:38
mikla52119-Apr-09 18:38 
GeneralRe: Databinding in UserControl Pin
Mark Salsbery19-Apr-09 19:13
Mark Salsbery19-Apr-09 19:13 
QuestionError Pin
Saiyed Alam18-Apr-09 5:43
Saiyed Alam18-Apr-09 5:43 
QuestionLoad MFC CFormView from WPF Pin
Member 377636718-Apr-09 0:17
Member 377636718-Apr-09 0:17 
AnswerRe: Load MFC CFormView from WPF Pin
Mark Salsbery19-Apr-09 7:54
Mark Salsbery19-Apr-09 7:54 
QuestionTabcontrol layout with Prism Pin
Abhinav S17-Apr-09 20:00
Abhinav S17-Apr-09 20: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.