Handlers can cancel the change through Cancel.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public class RadPropertyChangingEventArgs : CancelEventArgs
Inheritance: objectEventArgsCancelEventArgsRadPropertyChangingEventArgs
Inherited Members
Gets the registered property being changed.
public RadProperty Property { get; }
Constructors
Initializes change data including the source of the previous value.
public RadPropertyChangingEventArgs(RadProperty property, object oldValue, object newValue, RadPropertyMetadata metadata, ValueSource oldSource)
The property being changed.
oldValueobjectThe effective value before the change.
newValueobjectThe proposed effective value.
metadataRadPropertyMetadataThe metadata associated with property.
The source that supplied the previous effective value.
Initializes change data with an unspecified previous value source.
public RadPropertyChangingEventArgs(RadProperty property, object oldValue, object newValue, RadPropertyMetadata metadata)
The property being changed.
oldValueobjectThe effective value before the change.
newValueobjectThe proposed effective value.
metadataRadPropertyMetadataThe metadata associated with property.
Properties
Gets the metadata associated with Property.
public RadPropertyMetadata Metadata { get; }
Gets or sets the proposed value included in the change notification.
public object NewValue { get; set; }
Changing this event-data value does not replace the value applied by the current property-setting path.
Gets the source that supplied OldValue.
public ValueSource OldSource { get; }