The CurrentInputReceiver property gets and sets the current object which is receiving input from the keyboard. Only one element can be the CurrentInputReceiver at one time, but this property may be null if no elements are receiving input.
This property can be set in a number of ways:
Forms objects such as TextBox set themselves as the CurrentInputReceiver when clicked
Setting IsFocused = true on some Forms objects such as TextBoxes sets this
Explicitly setting CurrentInputReceiver sets this value, but keep in mind that doing so may not result in objects updating their states appropriately, so this typically should be assigned internally
The RollOverBubbling event is raised whenever the cursor rolls over an InteractiveGue. A roll is defined as the cursor being positioned over the bounds of an InteractiveGue when the cursor's X or Y values have changed.
This event is raised top-down, with children object having the first opportunity to handle the event. If the event is not handled by the child, then parents have the opportunity to handle the event. If the RoutedEventArgs Handled property is set to true, then no parents receive the event.
The following code shows how to implement ListBox scrolling using the cursor when the cursor is pressed.