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

Ctrl+Tab

1 Answer 113 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 28 Dec 2011, 06:44 PM
I was wondering if there is a way to hook into how the Ctrl+Tab works in the RadGridView?

Currently the Ctrl+Tab acts just like the Tab and we would like to move focus out of the RadGridView when a user hits Ctrl+Tab.

In .XAML you can define KeyboardNavigation.ControlTabNavigation, but I've had no luck so far with this. Any help would be appreciated.

1 Answer, 1 is accepted

Sort by
0
Dave
Top achievements
Rank 1
answered on 28 Dec 2011, 06:58 PM
Found one way of doing this, in our view .XAML we added this:

        <Telerik:RadGridView.InputBindings>
            <KeyBinding Command="{Binding TabNavigationCommand}" Gesture="CTRL+Tab" />
        </Telerik:RadGridView.InputBindings>

TabNavigationCommand is a ICommand in our view model.

And all is well.
Tags
GridView
Asked by
Dave
Top achievements
Rank 1
Answers by
Dave
Top achievements
Rank 1
Share this question
or