Looking to get the Value of the item before the change is made,ie:
take this example:
myObject has these values assigned to its value property and it is being changed by the user,
old value = 123;
new value = 432 ;
ValueChangedEventArgs documentation said i can get the "old value" from e but i cannot get it..
Code: Select all
void myObject_ValueChanged(System.Object sender, Core.Api.DataSource.ValueChangedEventArgs e)
{
//e.Value - returns new value NOT OLD
//Microsofts new/old doesnt work aswell
//e.NewValue - does not contain...(Error CS1061)
//e.OldValue - does not contain...(Error CS1061)
//
}
i am probably missing a "using" or something silly like that but cant find it..
Thanks..