ScrollingData Element
Defines the data used for scrolling.
Syntax
<ScrollingData
BeginPadding="int"
BeginPaddingRelativeTo="{Far | Near}"
CanScrollDown="{true | false}"
CanScrollUp="{true | false}"
CurrentPage="float"
EndPadding="int"
EndPaddingRelativeTo="{Far | Near}"
LockedAlignment="float"
LockedPosition="float"
PageSizedScrollStep="{true | false}"
PageStep="float"
Repeater="Repeater element"
ScrollStep="int"
TotalPages="float"
/>
Attributes
BeginPadding
Specifies the amount of space around the beginning focus area to ensure it is in view.
BeginPaddingRelativeTo
Specifies the edge tothat BeginPadding is relative to. This value must be a member of the RelativeEdge enumeration.
CanScrollDown
Indicates whether the area allows scrolling down. This value is read-only.
CanScrollUp
Indicates whether the area allows scrolling up. This value is read-only.
CurrentPage
Indicates the current page. This value is read-only.
EndPadding
Specifies the amount of space around the end of the focus area to ensure it is in view.
EndPaddingRelativeTo
Specifies the edge that EndPadding is relative to. This value must be a member of the RelativeEdge enumeration.
LockedAlignment
Specifies the percentage of the focus rectangle to use when in LockedPosition mode.
LockedPosition
Specifies the percentage position within the viewing area that the focus will be locked to. For example, to fix the scrolling item to appear 30% away from the left of the scroller, specify ".3".
PageSizedScrollStep
Specifies whether to scroll a page at a time.
PageStep
Specifies the percentage of a page to scroll when using PAGE UP or PAGE DOWN.
Repeater
Specifies a reference to a Repeater element that specifies the target for focus-based keyboard-supported scrolling.
ScrollStep
Specifies the size of a single scroll step. This value is only applicable if the scroller contains non-focusable content (such as a block of text). The ScrollStep value is not used if the scroller contains view items that can receive focus individually.
TotalPages
Indicates the total number of pages. This value is read-only.
Public Instance Methods
Method | Description |
End | Scrolls to the end. |
Home | Scrolls to the beginning. |
PageDown | Scrolls down one page. |
PageUp | Scrolls up one page. |
Scroll | Scrolls by exact amount. |
ScrollDown | Scrolls down one step. |
ScrollUp | Scrolls up one step. |
Requirements
Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later
See Also