SizeChangedEventArgs Class

Provides data specific to a SizeChanged event.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public class SizeChangedEventArgs : RoutedEventArgs
Inheritance
Object    EventArgs    RoutedEventArgs    SizeChangedEventArgs

Constructors

SizeChangedEventArgs(RoutedEvent) Initializes a new instance of the SizeChangedEventArgs class.
SizeChangedEventArgs(RoutedEvent, Object) Initializes a new instance of the SizeChangedEventArgs class.
SizeChangedEventArgs(RoutedEvent, Object, Size, Size) Initializes a new instance of the SizeChangedEventArgs class.

Properties

Handled
(Inherited from RoutedEventArgs)
HeightChanged Gets a value indicating whether the height of the new size is considered different than the previous size height.
NewSize Gets the new size (or bounds) of the object.
PreviousSize Gets the previous size (or bounds) of the object.
Route
(Inherited from RoutedEventArgs)
RoutedEvent
(Inherited from RoutedEventArgs)
Source
(Inherited from RoutedEventArgs)
WidthChanged Gets a value indicating whether the width of the new size is considered different than the previous size width.

Methods

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also