SpreadsheetGear.Windows.Controls Namespace > VerticalScrollbarsPresenter Class : SizeChanged Event |
'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
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.
Property | Description |
---|---|
Handled | (Inherited from System.Windows.RoutedEventArgs) |
HeightChanged | Gets a value that indicates whether the System.Windows.FrameworkElement.Height component of the size changed. |
NewSize | Gets the new System.Windows.Size of the object. |
OriginalSource | (Inherited from System.Windows.RoutedEventArgs) |
PreviousSize | Gets the previous System.Windows.Size of the object. |
RoutedEvent | (Inherited from System.Windows.RoutedEventArgs) |
Source | (Inherited from System.Windows.RoutedEventArgs) |
WidthChanged | Gets a value that indicates whether the System.Windows.FrameworkElement.Width component of the size changed. |
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