I read many other questions about this and the answers don't work for me. How can I get the text content of a combobox in C#? This is a Windows Store app, not WPF, nor Silverlight.

&lt;ComboBox Name="ColorListSortSelection" Grid.Column="1" Margin="24,5,24,8"
          VerticalAlignment="Top" SelectedIndex="0" HorizontalAlignment="Stretch"&gt;
    &lt;ComboBoxItem&gt;Sort By HSB&lt;/ComboBoxItem&gt;
    &lt;ComboBoxItem&gt;Sort By SBH&lt;/ComboBoxItem&gt;
    &lt;ComboBoxItem&gt;Sort By BHS&lt;/ComboBoxItem&gt;
    &lt;ComboBoxItem&gt;Sort By HBS&lt;/ComboBoxItem&gt;
    &lt;ComboBoxItem&gt;Sort By SHB&lt;/ComboBoxItem&gt;
    &lt;ComboBoxItem&gt;Sort By BSH&lt;/ComboBoxItem&gt;
    &lt;ComboBoxItem&gt;Sort By Name&lt;/ComboBoxItem&gt;
&lt;/ComboBox&gt;


and the C# code to go with it:

object Temp = ColorListSortSelection.SelectedItem;
string Content = Temp.ToString();


The Content string ends up being "Windows.UI.Xaml.Controls.ComboBoxItem", not the string that appears in the box.

The .Content member is private, so I can't access the text that way.

I'm sure that I just did something wrong here, but the solution eludes me.

Dave


Question: What went down in 1666 before Shabtai Tz'vi's apostasy?
Answer: Scholem says it was the Taz's son and stepson, Reb Aryeh Leib. Their mission was to meet and determine the legitimacy of S"T as a Talmid Chochom and Tzaddik. According to Scholem he wowed them and they left convinced of his righteousness and status as the messiah with a present of a garment for the ailing Taz to wear as a segulah for improved health. Scholem quotes all this from other sources on page 600. The end of 1666 is when S"T YS"V converted but the news did not hit most of bnei ashkenaz until 1667.