次の方法で共有


XRScrollEventArgs (Windows Embedded CE 6.0)

1/6/2010

This structure contains event data for the Scroll event.

Syntax

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

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.

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.

Inheritance Hierarchy

XREventArgs

    XRRoutedEventArgs

        XRScrollEventArgs

.NET Framework Equivalent

None.

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

Silverlight for Windows Embedded Structures
IXRScrollBar::AddScrollEventHandler