New to Telerik UI for WinForms? Start a free 30-day trial

Carries the new and previous bounds rectangles reported by a size-change notification.

Definition

Namespace:Telerik.WinControls.UI.Diagrams

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public sealed class SizeChangedEventArgs : RoutedEventArgs

Inheritance: objectEventArgsRoutedEventArgsSizeChangedEventArgs

Inherited Members RoutedEventArgs.HandledRoutedEventArgs.OriginalSourceRoutedEventArgs.RoutedEventRoutedEventArgs.SourceEventArgs.Empty

Constructors

Initializes the event data with the new and previous bounds.

C#
public SizeChangedEventArgs(Rectangle newSize, Rectangle oldSize)
Parameters:newSizeRectangle

The new bounds rectangle.

oldSizeRectangle

The bounds rectangle before the change.

Properties

Gets the bounds rectangle after the change, including its location.

C#
public Rectangle NewSize { get; }

Gets the bounds rectangle before the change, including its location.

C#
public Rectangle PreviousSize { get; }