Skip to main content

SizeChangedEventArgs Class

Provides data specific to a SizeChanged event.

Definition

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

public class SizeChangedEventArgs : RoutedEventArgs
View Source
InheritanceObjectEventArgsRoutedEventArgs → 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

HandledGets or sets a value indicating whether the routed event has already been handled.
(Inherited from RoutedEventArgs)
HeightChangedGets a value indicating whether the height of the new size is considered different than the previous size height.
NewSizeGets the new size (or bounds) of the object.
PreviousSizeGets the previous size (or bounds) of the object.
RouteGets or sets the routing strategy (direct, bubbling, or tunneling) of the routed event.
(Inherited from RoutedEventArgs)
RoutedEventGets or sets the routed event associated with these event args.
(Inherited from RoutedEventArgs)
SourceGets or sets the source object that raised the routed event.
(Inherited from RoutedEventArgs)
WidthChangedGets 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)
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
ToString()Returns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Avalonia.Controls Namespace