AnsweredAssumed Answered

GraphicsLayer AttributeLabelClass Issue

Question asked by enbdev on Dec 31, 2015
Latest reply on Jan 14, 2016 by sfisher

I am developing an application in C# for Windows platform. I am kind of new using esri runtime and probably I am doing it in a wrong way. In the map, user is drawing a line to indicate some tasks, everything runs perfect until we decide to use labeling along the line.

When we draw lines, it automatically labels it with the proper name, the problem is when we navigate to another view it suddenly deadlocks the app and in debug mode I realize that there is always a thread present  showing that something crashed inside the esri.ArcGISRuntime.DLL specifically pointing to RuntimeCoreNet.CoreDrawSurface.ShutDownDrawThread method.

Has anybody faced this issue before? and how to resolve it,

what could be making the dll to crash, since there is no exception thrown or probably is not crashing just expecting some other behavior.

This happens specifically when assigning value to the property AtributeLabelClass.TextExpression = "[myVariable]";

 

 

Outcomes