ClassSizeChangedInfo
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
SizeChangedInfo(RadElement, Size, bool, bool)
Initializes a new instance of the SizeChangedInfo class with size change details.
Declaration
public SizeChangedInfo(RadElement element, Size previousSize, bool widthChanged, bool heightChanged)
Parameters
element
The RadElement that changed size.
previousSize
The previous size before the change.
widthChanged
True if the width changed; otherwise, false.
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
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
The size before the change.
WidthChanged
Gets a value indicating whether the width of the element changed.
Declaration
public bool WidthChanged { get; }
Property Value
True if the width changed; otherwise, false.