Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public class RadPropertyChangedEventArgs : EventArgs
Gets the registered property that changed.
public RadProperty Property { get; }
Constructors
Initializes change data without property metadata.
public RadPropertyChangedEventArgs(RadProperty property, object oldValue, object newValue)
The registered property that changed.
oldValueobjectThe effective value before the change.
newValueobjectThe effective value after the change.
Initializes change data with the metadata associated with the property.
public RadPropertyChangedEventArgs(RadProperty property, RadPropertyMetadata metadata, object oldValue, object newValue)
The registered property that changed.
metadataRadPropertyMetadataThe metadata associated with property.
The effective value before the change.
newValueobjectThe effective value after the change.
Fields
Gets an event-data instance with no associated property or values.
public static readonly RadPropertyChangedEventArgs Empty
Properties
Gets the metadata associated with Property, if supplied.
public RadPropertyMetadata Metadata { get; }
Gets the effective property value after the change.
public object NewValue { get; }
If the value is stored as a deferred reference, it is resolved and cached when first read.
Gets the source that supplied NewValue.
public ValueSource NewValueSource { get; }
Gets the effective property value before the change.
public object OldValue { get; }
If the value is stored as a deferred reference, it is resolved and cached when first read.
Gets the source that supplied OldValue.
public ValueSource OldValueSource { get; }
Methods
Determines whether the stored property-change data matches another object.
public override bool Equals(object obj)
A non-null RadPropertyChangedEventArgs to compare with this instance.
Returns:true if the supplied event data has matching stored change state; otherwise, false.
Overrides:
Compares the property, values, metadata, and value-source state of two change notifications.
public bool Equals(RadPropertyChangedEventArgs args)
A non-null event-data instance to compare with this instance.
Returns:Operators
Determines whether two property-change notifications have different stored change data.
public static bool operator !=(RadPropertyChangedEventArgs left, RadPropertyChangedEventArgs right)
The first event-data instance.
rightRadPropertyChangedEventArgsThe second event-data instance.
Returns:true when the instances do not have matching change data.
Compares two property-change notifications using their stored change data.
public static bool operator ==(RadPropertyChangedEventArgs left, RadPropertyChangedEventArgs right)
The first event-data instance.
rightRadPropertyChangedEventArgsThe second event-data instance.
Returns:true when both instances have matching change data.