New to Telerik UI for WinFormsStart a free 30-day trial

Encapsulates all the data associated with a change in a PropertyBagObject property store.

Definition

Namespace:Telerik.Charting

Assembly:Telerik.WinControls.dll

Syntax:

C#
public class RadPropertyEventArgs : EventArgs

Inheritance: objectEventArgsRadPropertyEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the RadPropertyEventArgs class.

C#
public RadPropertyEventArgs(int key, object oldValue, object newValue)
Parameters:keyint

The property key identifier.

oldValueobject

The previous value of the property.

newValueobject

The new value of the property.

Initializes a new instance of the RadPropertyEventArgs class.

C#
public RadPropertyEventArgs(string name, object oldValue, object newValue)
Parameters:namestring

The property name identifier.

oldValueobject

The previous value of the property.

newValueobject

The new value of the property.

Properties

Gets or sets a value indicating whether the property change can be accepted. Valid during the Changing pass.

C#
public bool Cancel { get; set; }

Gets the key of the property associated with the event.

C#
public int Key { get; }

Gets or sets the new value of the associated property.

C#
public object NewValue { get; set; }

Gets the old value of the associated property.

C#
public object OldValue { get; }

Gets the name of the property that has changed. This member is not set if the property is associated with a valid key.

C#
public string PropertyName { get; }