ScrollingHandler Element
Defines common scrolling input behavior for a UI object.
Syntax
<ScrollingHandler
GesturePanEnabled="{true | false}"
HandleDirectionalKeys="{true | false}"
HandleHomeEndKeys="{true | false}"
HandleMouseWheel="{true | false}"
HandlePageCommands="{true | false}"
HandlePageKeys="{true | false}"
HandlerStage="{Bubbled | Direct | Routed}"
IsPanning="{true | false}"
IsPanningInertia="{true | false}"
MaximumOutOfBoundsPanAmount="int"
OutOfBoundsElasticity="float"
ScrollingData="ScrollingData element"
/>
Attributes
GesturePanEnabled
Specifies whether panning gestures are enabled on the handler.
HandleDirectionalKeys
Specifies whether to handle the UP, DOWN, LEFT, and RIGHT keys.
HandleHomeEndKeys
Specifies whether to handle the HOME and END keys.
HandleMouseWheel
Specifies whether to handle the mouse wheel.
HandlePageCommands
Specifies whether to handle the PAGE UP and PAGE DOWN commands.
HandlePageKeys
Specifies whether to handle the PAGE UP and PAGE DOWN keys.
HandlerStage
A member of the InputHandlerStage enumeration indicating the stage in the event handling process when the event will be handled.
This value should be Direct (the default) if the scroller does not contain focusable content. It should be Bubbled when using focus-based scrolling to interact with the child items of the scroller.
IsPanning
Indicates whether the user is panning.
IsPanningInertia
Indicates whether the user is panning due to inertia.
MaximumOutOfBoundsPanAmount
The maximum amount the user is able to pan outside of the boundary. When this this threshold is reached, panning is terminated and the ScrollingHandler moves back to the relative edge.
OutOfBoundsElasticity
Indicates the the amount of resistance to apply when panning outide and away from the panning boundaries.
ScrollingData
Specifies a reference to a ScrollingData element that provides information to the handler.
Requirements
Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later
See Also