Поделиться через


XRScrollEventType (Compact 2013)

3/28/2014

This enumeration specifies the type of action used to raise the Scroll event.

Syntax

enum XRScrollEventType{
  XRScrollEventType_EndScroll = 8,
  XRScrollEventType_First = 6,
  XRScrollEventType_LargeDecrement = 2,
  XRScrollEventType_LargeIncrement = 3,
  XRScrollEventType_Last = 7,
  XRScrollEventType_SmallDecrement = 0,
  XRScrollEventType_SmallIncrement = 1,
  XRScrollEventType_ThumbPosition = 4,
  XRScrollEventType_ThumbTrack = 5
};

Members

  • XRScrollEventType_EndScroll
    The IXRThumb control was dragged to a new position and is now no longer being dragged by the user.
  • XRScrollEventType_First
    The IXRThumb control moved to the Minimum position of the IXRScrollBar control.
  • XRScrollEventType_LargeDecrement
    The user clicked a horizontal scroll bar to the left of the thumb or a vertical scroll bar above the thumb. This click resulted in the thumb being moved a large distance, as determined by the LargeChange value of the scroll bar.
  • XRScrollEventType_LargeIncrement
    The user clicked a horizontal scroll bar to the right of the thumb or a vertical scroll bar below the thumb. This click resulted in the thumb being moved a large distance, as determined by the LargeChange value of the scroll bar.
  • XRScrollEventType_Last
    The IXRThumb control moved to the Maximum position of the scroll bar.
  • XRScrollEventType_SmallDecrement
    The user clicked the scroll arrow to the left of a horizontal scroll bar or to the top of a vertical scroll bar. This click resulted in the thumb being moved a small distance, as determined by the SmallChange value of the scroll bar.
  • XRScrollEventType_SmallIncrement
    The user clicked the scroll arrow to the right of a horizontal scroll bar or to the bottom of a vertical scroll bar. This click resulted in the thumb being moved a small distance, as determined by the SmallChange value of the scroll bar.
  • XRScrollEventType_ThumbPosition
    The IXRThumb control moved to a new position because the user selected Scroll Here in the shortcut menu of the scroll bar.
  • XRScrollEventType_ThumbTrack
    The IXRThumb control was dragged and caused a MouseMove event. A Scroll event of this XRScrollEventType may occur more than one time when the IXRThumb control is dragged in the scroll bar.

Remarks

You can set the Minimum, Maximum, LargeChange, SmallChange values of the IXRScrollBar control by using the accessor and setter methods of the IXRRangeBase class, which is inherited by IXRScrollBar.

.NET Framework Equivalent

System.Windows.Controls.Primitives.ScrollEventType

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

XAML for Windows Embedded Enumerations
XRScrollEventArgs