Hi,
I'm attaching a tag to a feature when creating the feature in an InMemoryFeatureLayer.
Later,when a custom style's DrawCore() is called , the tag of the feature in the features collection is null;
This can be reproduced easily in the "VehicleDirection" sample downloaded from the code Community:
In Form1_Load() make the following change:
Feature newFeature1 = new Feature(pointShapes1[count1]);
newFeature1.Tag = "aaa"; //this is an added line
Now, put a breakpoint at RotatedImageStyle:DrawCore, and look at the feature.tag
Thanks,
Ofer