I am using beta 10.0 now,and i met such problem for comboboxitem,i am not sure if it is a bug or i do sth wrongly
it is quite simple,i wanna a textblock as comboxitem for my combobox
Code: Select all
<StackPanel Orientation="Horizontal">
<ComboBox BorderThickness="0" SelectedIndex="0">
<ComboBoxItem>
<TextBlock Text="100-200" Foreground="#D93F59"></TextBlock>
</ComboBoxItem>
</ComboBox>
<TextBlock Foreground="#999999" Text="筛选"></TextBlock>
</StackPanel>
well,the problem is that i see everything works fine in simulator for previewing ,but when i run it on simulator or in browser, i saw nothing displayed in my combobox and my comboboxitem is not Textblock "100-200” but "Windows.UI.Controls.ComboxItem" which was really confusing to me
thanks for help in advance and it is really a great tool anyway