From 2.2, the ScaleBar control has been deprecated and replaced by the 'ScaleLine' control which is localizable just by retemplating.
And what about the scale bar units? The "DisplayUnits" property refers to ScaleBarUnits enum. I can't change its values.
Sure they do appear in the template look at the attachment I was able to convert navigation cotrol directions to French...
OK, that's sounds good. But are you sure that the N,E,W,S letters appear in the template? I remember that they are not.. I'll check this issue again (now I using on computer without a Visual Studio...)Thank you 🙂And what about the scale bar units? The "DisplayUnits" property refers to ScaleBarUnits enum. I can't change its values. Is there a way to do that? maybe with Converter?..Thank you for help!!
This is what I do in my appfollow this link http://msdn.microsoft.com/en-us/library/dd882554(v=vs.95).aspxthen this link http://msdn.microsoft.com/en-us/library/dd941931(v=vs.95).aspxafter that using blend I edit the template of the Navigation control. In the template find the textblocks for N,E,W,S and replcae the static texts with binding as explained in first linkLet me know if there is a better approach
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.