| Visual Basic (Declaration) | |
|---|---|
Public Event ScrollPositionChanged As EventHandler | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As RasterImageViewer Dim handler As EventHandler AddHandler instance.ScrollPositionChanged, handler | |
| C# | |
|---|---|
public event EventHandler ScrollPositionChanged | |
| C++/CLI | |
|---|---|
public: event EventHandler^ ScrollPositionChanged | |
Copy Code