In This Topic
GdPicture14.WPF Namespace / GdViewer Class / PreviewScroll Event

PreviewScroll Event

In This Topic
This event is raised when the user scrolls through the GdViewer control area using the mouse move or when they scroll using the vertical or the horizontal scrollbars directly.

The event makes use of tunel routing strategy. Please check the corresponded GdViewer.ScrollEventArgs for more details.

Syntax
'Declaration
 
Public Event PreviewScroll As GdViewer.PreviewScrollHandler
public event GdViewer.PreviewScrollHandler PreviewScroll
public event PreviewScroll: GdViewer.PreviewScrollHandler; 
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event GdViewer.PreviewScrollHandler* PreviewScroll
public:
event GdViewer.PreviewScrollHandler^ PreviewScroll
Event Data

The event handler receives an argument of type GdViewer.ScrollEventArgs containing data related to this event. The following GdViewer.ScrollEventArgs properties provide information specific to this event.

PropertyDescription
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
Example
Please follow the example for the Scroll event to motivate yourself on how to utilize this event in your GdViewer control.
See Also