This question is locked. New answers and comments are not allowed.
Hello !
I have a little problem with the radmap component,
I'm explain :
I would like to color each country of a europe shape files with one conditions (if the country is available (green) or not(red) for our salesboard)
I try to do that with the extendedproperty and the event "PreviewReadCompleted"
but when i implement there :
What the best way to determine the country is ratached to the shape actually process ?
Thans for you work and your anwser, if you need more details, just ask me =)
(Sorry for my english ^^)
Best regards
I have a little problem with the radmap component,
I'm explain :
I would like to color each country of a europe shape files with one conditions (if the country is available (green) or not(red) for our salesboard)
I try to do that with the extendedproperty and the event "PreviewReadCompleted"
but when i implement there :
private void PreviewReadCompleted(object sender, PreviewReadShapesCompletedEventArgs eventArgs){ if (eventArgs.Error == null) { foreach (FrameworkElement element in eventArgs.Items) { var shape = element as IExtendedData; if (shape != null) { // setup the property value this.SetExtendedPropertyFromDatabase(shape); } } }}/// <summary>/// Emulates setting a value from database to extended data./// </summary>private void SetExtendedPropertyFromDatabase(IExtendedData shape){ // setup the property value shape.ExtendedData.SetValue(this.extendedPropertyName, true);}What the best way to determine the country is ratached to the shape actually process ?
Thans for you work and your anwser, if you need more details, just ask me =)
(Sorry for my english ^^)
Best regards