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

2 posts, 0 answers
  1. Anatoliy
    Anatoliy avatar
    37 posts
    Member since:
    Oct 2012

    Posted 05 Sep 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
    556 posts

    Posted 07 Sep 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.
  3. DevCraft R3 2016 release webinar banner
Back to Top