Select to view content in your preferred language

Inheriting from ESRI.ArcGIS.Client.Toolkit.Toolbar

1235
2
03-16-2011 06:25 AM
ScottStillwell
Deactivated User
Hi,

I've installed both the 2.0 and 2.1 versions of the API, and have been able to successfully instantiate an object of the "Toolbar" class.  However, when attempting to write a subclass, instantiation always fails.  Furthermore, when I examine the .dll in VS2010 Object Browser, "Toolbar" does not appear as a class, even though it is present in all of the class diagrams.  Am I missing something in the documentation?

Thanks,

Scott
0 Kudos
2 Replies
ScottStillwell
Deactivated User
As an update, I was able to finally instantiate a member of my derived class--the error was with the type of uri path I was using to tie an image to the toolbar items.  However, "Toolbar" still does not show up as a class in the object browser of Visual Studio 2010.  Curious, but not a show stopper I suppose.
0 Kudos
JenniferNery
Esri Regular Contributor
If you mean that you cannot see Toolbar from the intellisense, this is expected.

But as you might have seen, there is nothing stopping you from using the Toolbar in XAML and in code-behind. It's just that it is hidden from intellisense 🙂
0 Kudos