CogExpressionChangedEventArgs PropertiesCognex VisionPro

The CogExpressionChangedEventArgs type exposes the following members.

Properties

  NameDescription
Public propertyDependencyEvent
Flag indicating whether the sending expression was changed directly, or a dependent expression of the sender was changed. If the sender was changed directly (DependencyEvent == false), the StateFlags indicate what piece of state was changed, and Value and OldValue contain the new and previous values of that piece of state, respectively. Otherwise, Value and OldValue are null (Nothing).
Public propertyDependencyEventArgs
The event args originally fired by DependencyEventSender, if DependencyEvent is true, otherwise null (Nothing).
Public propertyDependencyEventSender
The expression object that originally fired DependencyEventArgs, if DependencyEvent is true, otherwise null (Nothing).
Public propertyOldValue
The previous value of the property indicated in StateFlags. If DepedencyEvent is true, Value and OldValue will be null and the values must be obtained from DepedencyEventArgs.
Public propertyValue
The new value of the property indicated in StateFlags. If DepedencyEvent is true, Value and OldValue will be null and the values must be obtained from DepedencyEventArgs.
Top
See Also