locked
combobox Style RRS feed

  • Question

  • Hi

    I am design a Blend form in which there is a combobox.How can I make this comboBox a DropDown Style(in other words the combobox is bound to a datasource and the user can enter a value manually if it does not exist in the list)

    thanks
    Wednesday, August 13, 2008 8:05 AM

Answers

  • Hi Cuterita,

    Set ‘IsEditable’ property to 'TRUE' as shown below

    <ComboBox Margin="174,121,164,0" VerticalAlignment="Top" Height="42" IsSynchronizedWithCurrentItem="True" ItemsSource="{Binding Mode=Default, Source={StaticResource FlowersDS}, XPath=/Flowers/Flower}" ItemTemplate="{DynamicResource FlowerTemplate}" IsEditable="True"/>

    -BALA

    Sunday, August 31, 2008 6:57 AM