XRScrollEventArgs (Compact 2013)

3/28/2014

This structure contains event data for the Scroll event.

Syntax

struct XRScrollEventArgs : XRRoutedEventArgs{
  float              NewValue;
  XRScrollEventType  ScrollEventType;
};

Inheritance Hierarchy

XREventArgs

    XRRoutedEventArgs

        XRScrollEventArgs

Members

  • NewValue
    A float value that indicates the distance that the content was scrolled either horizontally or vertically.
  • ScrollEventType
    XRScrollEventType enumerated type that specifies the type of action that raised the Scroll event.
  • pSource
    Points to an IXRDependencyObject object that represents the source. This is the first object that raised the routed event. Inherited from XRRoutedEventArgs.
  • Size
    Indicates the size, in bytes, of this structure. Inherited from XREventArgs.

Remarks

If the UI object in the inherited member pSource has a horizontal orientation, the value of NewValue represents a horizontal offset. If the UI object in the inherited member pSource has a vertical orientation, it represents a vertical offset.

.NET Framework Equivalent

None.

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

XAML for Windows Embedded Structures
IXRScrollBar::AddScrollEventHandler