SizeChangedInfo
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:
public class SizeChangedInfo
Inheritance: objectSizeChangedInfo
Constructors
Initializes a new instance of the SizeChangedInfo class with size change details.
public SizeChangedInfo(RadElement element, Size previousSize, bool widthChanged, bool heightChanged)
The RadElement that changed size.
previousSizeSizeThe previous size before the change.
widthChangedboolTrue if the width changed; otherwise, false.
heightChangedboolTrue if the height changed; otherwise, false.
Properties
Gets a value indicating whether the height of the element changed.
public bool HeightChanged { get; }
True if the height changed; otherwise, false.
Gets the previous size of the element before the change occurred.
public Size PreviousSize { get; }
The size before the change.
Gets a value indicating whether the width of the element changed.
public bool WidthChanged { get; }
True if the width changed; otherwise, false.