SpreadsheetGear 2017
SizeChanged Event (DropDownButton)






SpreadsheetGear.Windows.Controls Namespace > DropDownButton Class : SizeChanged Event
Syntax
'Declaration
 
Public Event SizeChanged As System.Windows.SizeChangedEventHandler
'Usage
 
Dim instance As DropDownButton
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
(Inherited from System.Windows.RoutedEventArgs)
Gets a value that indicates whether the System.Windows.FrameworkElement.Height component of the size changed.  
Gets the new System.Windows.Size of the object.  
(Inherited from System.Windows.RoutedEventArgs)
Gets the previous System.Windows.Size of the object.  
(Inherited from System.Windows.RoutedEventArgs)
(Inherited from System.Windows.RoutedEventArgs)
Gets 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