New to Telerik UI for WinFormsStart a free 30-day trial

Provides information about size changes for RadElement instances during layout operations. Tracks which dimensions changed and the previous size values.

Definition

Namespace:Telerik.WinControls.Layouts

Assembly:Telerik.WinControls.dll

Syntax:

C#
public class SizeChangedInfo

Inheritance: objectSizeChangedInfo

Constructors

Initializes a new instance of the SizeChangedInfo class with size change details.

C#
public SizeChangedInfo(RadElement element, Size previousSize, bool widthChanged, bool heightChanged)
Parameters:elementRadElement

The RadElement that changed size.

previousSizeSize

The previous size before the change.

widthChangedbool

True if the width changed; otherwise, false.

heightChangedbool

True if the height changed; otherwise, false.

Properties

Gets a value indicating whether the height of the element changed.

C#
public bool HeightChanged { get; }
Property Value:

True if the height changed; otherwise, false.

Gets the previous size of the element before the change occurred.

C#
public Size PreviousSize { get; }
Property Value:

The size before the change.

Gets a value indicating whether the width of the element changed.

C#
public bool WidthChanged { get; }
Property Value:

True if the width changed; otherwise, false.