Syntax
Visual Basic (Declaration) | |
---|
Public Event SizeChanged As System.Windows.SizeChangedEventHandler |
C# | |
---|
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.
Property | Description |
---|
NewSize | Gets the new size of the object reporting the size change. |
OriginalSource | (Inherited from System.Windows.RoutedEventArgs) |
PreviousSize | Gets the previous size of the object reporting the size change. |
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