Ctrl+A not work without selecting any item(s)

2 posts, 0 answers
  1. Анатолій
    Анатолій avatar
    42 posts
    Member since:
    Oct 2012

    Posted 05 Sep 2016 Link to this post

    Hello Telerik,

    I'm using RadListBox with binding ItemsSource to CollectionViewSource and switched off IsSynchronizedWithCurrentItem...

    And it's nessesary to give option select all within keyboard manipulation.

    What can you suggest in this case?


    With regards, Anatoliy

  2. Nasko
    Nasko avatar
    704 posts

    Posted 07 Sep 2016 Link to this post

    Hello Anatoliy,

    In order to select all the items in RadListBox using the keyboard you could use the following KeyBinding that executes the SelectAllCommand of the control:
    <telerik:RadListBox x:Name="radlistbox"
                        ItemsSource="{Binding CollectionView.View}"
            <KeyBinding Modifiers="Control" Key="A" Command="{x:Static telerik:RadListBox.SelectAllCommand}"/>

    Hope this helps.

    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top