In order to achieve the desired functionality, you will need to modify the default commands that will be executed as the user extended select. You can re-define the behavior when pressing the Down arrow key with holding the Shift key down by creating your own custom keyboard provider. You can check the Keyboard Command Provider help article for a reference. Moreover, you can check this GitHub example - it demonstrates how to redefine the default KeyboardProvider.
The specific code you need to implement is:
IEnumerable<ICommand> ProvideCommandsForKey(Key key)
List<ICommand> commandsToExecute =
(key == Key.Down && KeyboardModifiers.IsShiftDown)
var parentRow = grid.ParentRow.Item
As a side note - Although GitHub
is a very well-known platform we saw a better and easier approach for reviewing our examples developing our SDK Samples Browser
. You can also use it to review the examples.
Let me know how this works for you.
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos
and start improving your app based on facts, not hunches.