Class
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:

cs-api-definition
public class SizeChangedInfo

Inheritance: objectSizeChangedInfo

Constructors

SizeChangedInfo(RadElement, Size, bool, bool)

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

Declaration

cs-api-definition
public SizeChangedInfo(RadElement element, Size previousSize, bool widthChanged, bool heightChanged)

Parameters

element

RadElement

The RadElement that changed size.

previousSize

Size

The previous size before the change.

widthChanged

bool

True if the width changed; otherwise, false.

heightChanged

bool

True if the height changed; otherwise, false.

Properties

HeightChanged

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

Declaration

cs-api-definition
public bool HeightChanged { get; }

Property Value

bool

True if the height changed; otherwise, false.

PreviousSize

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

Declaration

cs-api-definition
public Size PreviousSize { get; }

Property Value

Size

The size before the change.

WidthChanged

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

Declaration

cs-api-definition
public bool WidthChanged { get; }

Property Value

bool

True if the width changed; otherwise, false.