Click here to Skip to main content
15,889,403 members
Home / Discussions / WPF
   

WPF

 
QuestionCombo Box Question: I am embarrassed to ask... Pin
BlitzPackage13-Feb-09 11:08
BlitzPackage13-Feb-09 11:08 
QuestionRe: Combo Box Question: I am embarrassed to ask... Pin
Mark Salsbery13-Feb-09 13:45
Mark Salsbery13-Feb-09 13:45 
AnswerRe: Combo Box Question: I am embarrassed to ask... Pin
BlitzPackage13-Feb-09 18:38
BlitzPackage13-Feb-09 18:38 
GeneralRe: Combo Box Question: I am embarrassed to ask... Pin
Mark Salsbery14-Feb-09 6:36
Mark Salsbery14-Feb-09 6:36 
AnswerRe: Combo Box Question: I am embarrassed to ask... Pin
Pete O'Hanlon16-Feb-09 0:00
mvePete O'Hanlon16-Feb-09 0:00 
AnswerRe: Combo Box Question: I am embarrassed to ask... Pin
BlitzPackage16-Feb-09 3:25
BlitzPackage16-Feb-09 3:25 
GeneralRe: Combo Box Question: I am embarrassed to ask... Pin
Jammer16-Feb-09 4:41
Jammer16-Feb-09 4:41 
GeneralRe: Combo Box Question: I am embarrassed to ask... Pin
Jammer16-Feb-09 4:55
Jammer16-Feb-09 4:55 
Hmm ... barking up the wrong tree there!

This seems to work ...

public partial class Window1 : Window
{
    public ObservableCollection<string> Data = new ObservableCollection<string>();

    public Window1()
    {
        InitializeComponent();
        Populate();
        comboBox1.ItemsSource = Data;
    }

    public void Populate()
    {
        Data.Add("Boo!");
        Data.Add("Ahhhhh!");
        Data.Add("Gotcha!");
    }

    private void comboBox1_SelectionChanged(object sender, SelectionChangedEventArgs e)
    {
        string s = e.AddedItems[1].ToString();
    }
}</string></string>


hmm ... not much help I know ...


GeneralRe: Combo Box Question: I am embarrassed to ask... Pin
Pete O'Hanlon16-Feb-09 5:17
mvePete O'Hanlon16-Feb-09 5:17 
GeneralRe: Combo Box Question: I am embarrassed to ask... Pin
Mark Salsbery16-Feb-09 5:49
Mark Salsbery16-Feb-09 5:49 
QuestionLosing UI Pin
Joe Woodbury13-Feb-09 10:39
professionalJoe Woodbury13-Feb-09 10:39 
GeneralSilverlight ScaleMode does not work (solved) [modified] Pin
Kevin McFarlane12-Feb-09 22:29
Kevin McFarlane12-Feb-09 22:29 
QuestionResizing of Silverlight content according to screen resolution Pin
Kevin McFarlane12-Feb-09 9:50
Kevin McFarlane12-Feb-09 9:50 
QuestionMessage Removed Pin
12-Feb-09 5:57
professionalN_tro_P12-Feb-09 5:57 
AnswerRe: The Project type is not supported by this installation Pin
Mark Salsbery13-Feb-09 7:22
Mark Salsbery13-Feb-09 7:22 
QuestionGlobal.asax in Silverlight? Pin
devvvy12-Feb-09 4:18
devvvy12-Feb-09 4:18 
AnswerRe: Global.asax in Silverlight? Pin
Mark Salsbery12-Feb-09 5:42
Mark Salsbery12-Feb-09 5:42 
GeneralRe: Global.asax in Silverlight? Pin
devvvy12-Feb-09 14:15
devvvy12-Feb-09 14:15 
GeneralRe: Global.asax in Silverlight? Pin
Mark Salsbery12-Feb-09 14:23
Mark Salsbery12-Feb-09 14:23 
GeneralRe: Global.asax in Silverlight? Pin
devvvy13-Feb-09 21:24
devvvy13-Feb-09 21:24 
GeneralRe: Global.asax in Silverlight? Pin
Braulio Dez13-Mar-09 6:24
Braulio Dez13-Mar-09 6:24 
GeneralRe: Global.asax in Silverlight? Pin
devvvy13-Mar-09 14:33
devvvy13-Mar-09 14:33 
QuestionHow to get an Obejct from WPF ListBox?? Pin
saku6912-Feb-09 3:41
saku6912-Feb-09 3:41 
AnswerRe: How to get an Obejct from WPF ListBox?? Pin
ABitSmart12-Feb-09 15:53
ABitSmart12-Feb-09 15:53 
GeneralRe: How to get an Obejct from WPF ListBox?? Pin
saku6912-Feb-09 17:42
saku6912-Feb-09 17:42 

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.