This is a migrated thread and some comments may be shown as answers.

RadListBox Extended SelectionMode

2 Answers 350 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 18 Jul 2013, 06:19 PM
Hello,
I have set the SelectionMode="Extended" on my RadListBox; however the behavior identical to "Multiple", whereas Shift and Ctrl have no effect.  Below is my Xaml...

<telerik:RadListBox ItemsSource="{Binding MasterViewModel.ElementTypeCollectionView}"
                    Margin="3"
                    BorderThickness="0"
                    SelectionMode="Extended">
    <telerik:RadListBox.ItemTemplate>
        <DataTemplate>
            <CheckBox Checked="CheckBox_Checked"
                      IsChecked="{Binding RelativeSource={RelativeSource AncestorType={x:Type telerik:RadListBoxItem}}, Path=IsSelected}">
                <CheckBox.Content>
                    <TextBlock>
                        <TextBlock.Text>
                            <MultiBinding StringFormat="{}{0}  {1}">
                                <Binding Path="ElementTypeCode" />
                                <Binding Path="Description" />
                            </MultiBinding>
                        </TextBlock.Text>
                    </TextBlock>
                </CheckBox.Content>
            </CheckBox>
        </DataTemplate>
    </telerik:RadListBox.ItemTemplate>
</telerik:RadListBox>

Is this a known bug or am I missing something?

Thanks in advance,
Steve



2 Answers, 1 is accepted

Sort by
0
Accepted
Kalin
Telerik team
answered on 23 Jul 2013, 10:26 AM
Hi Steve,

The RadListBox SelectionModes are identical to the regular ListBox SelectionModes, when set to Multiple every item is added to the selection just on click and when set to Extended the items are added on click plus Ctrl/Shift. Could you please provide us with more detailed information about the exact use case and the required selection behavior of RadListBox?

I'm looking forward to your response.

Regards,
Kalin
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Steve
Top achievements
Rank 1
answered on 23 Jul 2013, 04:27 PM
My error.  I thought the extended mode was to work like the Windows Explorer list view when in detail view. 
Thanks for your response,
Steve
Tags
ListBox
Asked by
Steve
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Steve
Top achievements
Rank 1
Share this question
or