Toolbar depreciated?

1871
4
04-25-2012 03:21 PM
DonFreeman
New Contributor
I am getting a notice in my codebehind on this line
private void MyToolbar_ToolbarItemClicked(object sender, ESRI.ArcGIS.Client.Toolkit.SelectedToolbarItemArgs e)

that says "This class is used with the Toolbar which is depreciated." Should I not be using the toolbar in my project and if not, what is the new way to perform those features?
Thanks
0 Kudos
4 Replies
dotMorten_esri
Esri Notable Contributor
The toolbar has been deprecated for a while and won't be included in v3.0.
Instead use stackpanel and buttons to create a toolbar.
0 Kudos
DonFreeman
New Contributor
Thank you. This might be somewhat confusing since the toolbar is still being used in the samples at

http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ToolBarWidget

and

http://resources.esri.com/help/9.3/arcgisserver/apis/silverlight/samples/start.htm#ToolBarWidget

Is there a sample somewhere that demonstrates how to do it with a stackpanel and buttons?
0 Kudos
PhilipKnight1
Occasional Contributor
I know I'm being a word nazi here, but....
Toolbar depreciated?


depreciated: decreased in value

deprecated: has become superseded
0 Kudos