SpreadsheetGear 2017
ScrollPositionChanged Event (WorkbookView)






SpreadsheetGear.Windows.Controls Namespace > WorkbookView Class : ScrollPositionChanged Event
Occurs when the scroll position changes.
Syntax
'Declaration
 
<System.ComponentModel.CategoryAttribute("Action")>
<System.ComponentModel.DescriptionAttribute("Occurs when the scroll position changes.")>
Public Event ScrollPositionChanged As ScrollPositionChangedEventHandler
'Usage
 
Dim instance As WorkbookView
Dim handler As ScrollPositionChangedEventHandler
 
AddHandler instance.ScrollPositionChanged, handler
[System.ComponentModel.Category("Action")]
[System.ComponentModel.Description("Occurs when the scroll position changes.")]
public event ScrollPositionChangedEventHandler ScrollPositionChanged
public event ScrollPositionChanged: ScrollPositionChangedEventHandler; 
In JScript, you can handle the events defined by another class, but you cannot define your own.
[System.ComponentModel.Category("Action")]
[System.ComponentModel.Description("Occurs when the scroll position changes.")]
public: __event ScrollPositionChangedEventHandler* ScrollPositionChanged
[System.ComponentModel.Category("Action")]
[System.ComponentModel.Description("Occurs when the scroll position changes.")]
public:
event ScrollPositionChangedEventHandler^ ScrollPositionChanged
Remarks

The ScrollPositionChanged event is always invoked on the thread which created the workbook view control, and a lock is always acquired on the workbook set associated with the workbook view control before ScrollPositionChanged is invoked.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WorkbookView Class
WorkbookView Members