'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.
Property | Description |
---|---|
Handled | (Inherited from System.Windows.RoutedEventArgs) |
OriginalSource | (Inherited from System.Windows.RoutedEventArgs) |
RoutedEvent | (Inherited from System.Windows.RoutedEventArgs) |
Source | (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