Class
RadPropertyEventArgs

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

Definition

Namespace:Telerik.Charting

Assembly:Telerik.WinControls.dll

Syntax:

cs-api-definition
public class RadPropertyEventArgs : EventArgs

Inheritance: objectEventArgsRadPropertyEventArgs

Inherited Members EventArgs.Empty

Constructors

RadPropertyEventArgs(int, object, object)

Initializes a new instance of the RadPropertyEventArgs class.

Declaration

cs-api-definition
public RadPropertyEventArgs(int key, object oldValue, object newValue)

Parameters

key

int

The property key identifier.

oldValue

object

The previous value of the property.

newValue

object

The new value of the property.

RadPropertyEventArgs(string, object, object)

Initializes a new instance of the RadPropertyEventArgs class.

Declaration

cs-api-definition
public RadPropertyEventArgs(string name, object oldValue, object newValue)

Parameters

name

string

The property name identifier.

oldValue

object

The previous value of the property.

newValue

object

The new value of the property.

Properties

Cancel

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

Declaration

cs-api-definition
public bool Cancel { get; set; }

Property Value

bool

Key

Gets the key of the property associated with the event.

Declaration

cs-api-definition
public int Key { get; }

Property Value

int

NewValue

Gets or sets the new value of the associated property.

Declaration

cs-api-definition
public object NewValue { get; set; }

Property Value

object

OldValue

Gets the old value of the associated property.

Declaration

cs-api-definition
public object OldValue { get; }

Property Value

object

PropertyName

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

Declaration

cs-api-definition
public string PropertyName { get; }

Property Value

string