SpreadsheetGear 2012
SizeChanged Event (VerticalScrollbarsPresenter)






Syntax
'Declaration
 
Public Event SizeChanged As System.Windows.SizeChangedEventHandler
'Usage
 
Dim instance As VerticalScrollbarsPresenter
Dim handler As System.Windows.SizeChangedEventHandler
 
AddHandler instance.SizeChanged, handler
public event System.Windows.SizeChangedEventHandler SizeChanged
public event SizeChanged: System.Windows.SizeChangedEventHandler; 
In JScript, you can handle the events defined by another class, but you cannot define your own.
public: __event System.Windows.SizeChangedEventHandler* SizeChanged
public:
event System.Windows.SizeChangedEventHandler^ SizeChanged
Event Data

The event handler receives an argument of type System.Windows.SizeChangedEventArgs containing data related to this event. The following SizeChangedEventArgs properties provide information specific to this event.

PropertyDescription
Handled (Inherited from System.Windows.RoutedEventArgs)
HeightChangedGets a value that indicates whether the System.Windows.FrameworkElement.Height component of the size changed.  
NewSizeGets the new System.Windows.Size of the object.  
OriginalSource (Inherited from System.Windows.RoutedEventArgs)
PreviousSizeGets the previous System.Windows.Size of the object.  
RoutedEvent (Inherited from System.Windows.RoutedEventArgs)
Source (Inherited from System.Windows.RoutedEventArgs)
WidthChangedGets a value that indicates whether the System.Windows.FrameworkElement.Width component of the size changed.  
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

VerticalScrollbarsPresenter Class
VerticalScrollbarsPresenter Members

Send Feedback