Class
RadPropertyEventArgs

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

Definition

Namespace:Telerik.Charting

Assembly:Telerik.Windows.Controls.Chart.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 key.

oldValue

object

The old value.

newValue

object

The new value.

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 name.

oldValue

object

The old value.

newValue

object

The new value.

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