Skip to main content

WidthChanged Property

Gets a value indicating whether the width of the new size is considered different than the previous size width.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public bool WidthChanged { get; }

Property Value

Boolean

Remarks

This will take into account layout epsilon and will not be true if both widths are considered equivalent for layout purposes. Remember there can be small variations in the calculations between layout cycles due to rounding and precision even when the size has not otherwise changed.

See Also

Reference

SizeChangedEventArgs Class
Avalonia.Controls Namespace