Skip to content

StatChangedEventArg

Robert Brenckman edited this page Jan 19, 2022 · 2 revisions
  • Derived from PropertyChangedEventArgs

Sent when a Statistics object property has been updated.

Property Name Property Type Description
PropertyName string Part of PropertyChangedEventArgs - Describes the property name that has been changed.
If more than one item has been changed, this will be string.Empty ( "" )
Sender IStatistic IStatistic reference to the sender for easier consumption
StatType Statistic.StatType StatType of the sender
OldValue long Previous Value
- If PropertyName == string.Empty, this will be the previous value of Total
- If PropertyName = "Name" this will be 0.
NewValue long New Value
- If PropertyName == string.Empty, this will be the current value of Total
- If PropertyName = "Name" this will be 0.
Difference long Result of NewValue - OldValue