SizeChangedInfo SizeChangedInfo SizeChangedInfo SizeChangedInfo Class

Definition

Report the specifics of a value change involving a Size. This is used as a parameter in OnRenderSizeChanged(SizeChangedInfo) overrides.

public ref class SizeChangedInfo
public class SizeChangedInfo
type SizeChangedInfo = class
Public Class SizeChangedInfo
Inheritance
SizeChangedInfoSizeChangedInfoSizeChangedInfoSizeChangedInfo

Remarks

This class parallels some of the members SizeChangedEventArgs class, which is used to report event data for SizeChanged, but the two classes serve different purposes. SizeChangedInfo is specifically used for OnRenderSizeChanged overrides, which offers class handling for an event that is not exposed as a public event in WPF. For details, see OnRenderSizeChanged.

Constructors

SizeChangedInfo(UIElement, Size, Boolean, Boolean) SizeChangedInfo(UIElement, Size, Boolean, Boolean) SizeChangedInfo(UIElement, Size, Boolean, Boolean) SizeChangedInfo(UIElement, Size, Boolean, Boolean)

Initializes a new instance of the SizeChangedInfo class.

Properties

HeightChanged HeightChanged HeightChanged HeightChanged

Gets a value indicating whether this SizeChangedInfo reports a size change that includes a significant change to the Height component.

NewSize NewSize NewSize NewSize

Gets the new size being reported.

PreviousSize PreviousSize PreviousSize PreviousSize

Gets the previous size of the size-related value being reported as changed.

WidthChanged WidthChanged WidthChanged WidthChanged

Gets a value that declares whether the Width component of the size changed.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to