panthernet/GraphX

Initialization error on pass false to tracePositionChange of VertexControl Constructor

c0nstexpr opened this issue · 0 comments

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.