|
EventOptions = new VertexEventOptions(this) { PositionChangeNotification = tracePositionChange }; |
PositionChangeNotification in EventOptions is true by default. Assign false value to it will cause the property call the UpdatePositionTraceState method in VertexControl. Then EventOptions property is used, which is null reference by default, before initialization.