Joe is right, the toolbar has been removed from 3.0 after have been deprecated in 2.3 and 2.4.If you want, you can still get the code on codeplex and include it in your code.That being said, the cleaner solution is probbaly that you replace it by your own container (as it was done for the samples).
No, you need not to remove the ESRI.ArcGIS.Client.Toolkit reference. you need to remove the namespace (ESRI.ArcGIS.Client.Toolkit.Toolbar)from the xaml and then add the toolbar control on the xaml page in the same way we add other toolkit controls.Namespace will automatically added.ThanksAnkur
I just downloaded the classes and added these into a class library project to work it as a custom control and then add this dll reference into my main project and added toolbar.theme.xaml into ResourceDictionary of app.xaml.It worked for me. Thanks a lot..
... I just downloaded your toolbar library/assembly and then what is the instruction to follow?Could you please explain?
<Canvas x:Name="VGraphicsTools" Visibility="Collapsed"
<Canvas x:Name="VGraphicsTools" Visibility="Visible"
Dominique, for some reason, it's not working. I added those 5 files into the project, directly under the project, added the reference in the merged dictionary in App.xaml: <ResourceDictionary Source '"Toolbar.Theme.xaml"/> Then I changed every occurrence of "ESRI.ArcGIS.Client.Toolkit" related to the toolbar to my own project name "SeaLevelRise". But it's giving me an error that "the name Toolbar does not exist in the namespace clr-SeaLevelRise" Same for ToolbarItemCollection and ToolbarItem. Any idea what I'm missing or doing wrong? Dan
so what do I need to do with these files to add the toolbar back into my project?
hi, just installed the new 3.0 API because I need that for some new functionality, but, unless I'm mistaken, it appears that the Toolbar object is no longer there. In my coding, I'm getting the message "The name Toolbar does not exist in the namespace http://schemas.esri.com/arcgis/client/2009" and it doesn't appear in the list of ESRI objects that comes up when I try to type it in. It's also not in the samples anymore. I've been using this in previous sites and I want to continue using it. I'm not sure why it would be taken out but if this is the case, is there a way to have the present application I'm building use the previous API? Thank much!Dan
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.