Class SizeChangedInfo
Provides information about size changes for RadElement instances during layout operations. Tracks which dimensions changed and the previous size values.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.Layouts
Assembly: Telerik.WinControls.dll
Syntax
public class SizeChangedInfo
Constructors
SizeChangedInfo(RadElement, Size, Boolean, Boolean)
Initializes a new instance of the SizeChangedInfo class with size change details.
Declaration
public SizeChangedInfo(RadElement element, Size previousSize, bool widthChanged, bool heightChanged)
Parameters
RadElement
element
The RadElement that changed size. |
System.Drawing.Size
previousSize
The previous size before the change. |
System.Boolean
widthChanged
True if the width changed; otherwise, false. |
System.Boolean
heightChanged
True if the height changed; otherwise, false. |
Properties
HeightChanged
Gets a value indicating whether the height of the element changed.
Declaration
public bool HeightChanged { get; }
Property Value
System.Boolean
True if the height changed; otherwise, false. |
PreviousSize
Gets the previous size of the element before the change occurred.
Declaration
public Size PreviousSize { get; }
Property Value
System.Drawing.Size
The size before the change. |
WidthChanged
Gets a value indicating whether the width of the element changed.
Declaration
public bool WidthChanged { get; }
Property Value
System.Boolean
True if the width changed; otherwise, false. |