user473104
user473104

Reputation: 311

Set text on chosen ListPicker value in WP7

Hi im creating a WP7app where you can choose categories using a listpicker.

 <toolkit:ListPicker Header="Choose Categories" 
                                    SelectionMode="Multiple" 
                                    FullModeHeader="CATEFORIES"
                                    x:Name="ListPickerCategories"
                                    CacheMode="BitmapCache"                                
                                    HorizontalAlignment="Left"
                                    Margin="24,482,0,0"
                                    VerticalAlignment="Top"
                                    Width="401"                                
                                    Grid.ColumnSpan="2"
                                    ItemsSource="{Binding Categories}">                
                </toolkit:ListPicker>

enter image description here

When choosing categories I want to be able to specify what values will be shown above in the box. Right now the default is to always show the the first chosen value.

How do you specify this?

Upvotes: 2

Views: 669

Answers (1)

Roman Golenok
Roman Golenok

Reputation: 1417

Change ListPickerMode property to Expanded then set ItemCountThreshold to count of items you need show.

More information you can find here

Upvotes: 2

Related Questions