Upraviť

Zdieľať cez


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
SizeChangedInfo

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)

Initializes a new instance of the SizeChangedInfo class.

Properties

HeightChanged

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

NewSize

Gets the new size being reported.

PreviousSize

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

WidthChanged

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

Methods

Equals(Object)

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

(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)

Applies to