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)
- C#
- VB
- F#
public bool WidthChanged { get; }
Public ReadOnly Property WidthChanged As Boolean
Get
member WidthChanged : bool with get
Property Value
BooleanRemarks
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.