Quantcast
Channel: ComboBox looks like ListBox
Viewing all articles
Browse latest Browse all 2

ComboBox looks like ListBox

0
0
Though I know that the ComboBox is not styled correctly for the Windows Phone 7, I would like to place one and then restyle it. However, when I insert the following in my XAML, it renders as a ListBox looking ItemsControl and not the typical Silverlight ComboBox.

            <ComboBox Name="comboBox" Grid.Column="2" 
                      VerticalAlignment="Top" 
                      Foreground="Black" > 
                <ComboBoxItem Content="One"/> 
                <ComboBoxItem Content="Two"/>  
                <ComboBoxItem Content="Three"/> 
            </ComboBox> 


The dropdown is alway open displaying all the ComboBoxItems. There is never the closed dropdown with the little upside down triangle icon. The control behaves as if it were a ListBox. I know that it should work because I've seen in it Charles P's examples. I'm virtually positive I have all the references correct.

Any thoughts?

Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images