Apama API Reference for .NET  9.10.0.4
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Apama.Util.PropertyChangedEventArgs Class Reference

A "PropertyChanged" event gets delivered whenever an object changes a "bound" or "constrained" property. A PropertyChangeEvent object is sent as an argument to the PropertyChangeListener method. More...

Inherits PropertyChangedEventArgs.

Public Member Functions

 PropertyChangedEventArgs (string propertyName, object oldValue, object newValue)
 Constructs a new More...
 

Properties

virtual object NewValue [get]
 Sets the new value for the property, expressed as an object. More...
 
virtual object OldValue [get]
 Gets the old value for the property, expressed as an object. More...
 

Detailed Description

A "PropertyChanged" event gets delivered whenever an object changes a "bound" or "constrained" property. A PropertyChangeEvent object is sent as an argument to the PropertyChangeListener method.

Normally PropertyChangedEvents are accompanied by the name and the old and new value of the changed property.

Null values may be provided for the old and the new values if their true values are not known.

Constructor & Destructor Documentation

Apama.Util.PropertyChangedEventArgs.PropertyChangedEventArgs ( string  propertyName,
object  oldValue,
object  newValue 
)

Constructs a new

PropertyChangedEvent.

Parameters
propertyNameThe name of the property that changed.
oldValueThe old value of the property.
newValueThe new value of the property.

Property Documentation

virtual object Apama.Util.PropertyChangedEventArgs.NewValue
get

Sets the new value for the property, expressed as an object.

Returns
The new value for the property, expressed as an object. May be null if multiple properties have changed.
virtual object Apama.Util.PropertyChangedEventArgs.OldValue
get

Gets the old value for the property, expressed as an object.

Returns
The old value for the property, expressed as an object. May be null if multiple properties have changed.
Submit a bug or feature
Copyright (c) 2013-2016 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.