Hello every one ,
I need to display a a toolbar for my map using arcGis runtime version 100.1 , on the ArcObject there using ESRI.ArcGIS.Controls; using ESRI.ArcGIS.SystemUI; name spaces that can be used to display the toolbars for exemple :
private void SetToolbarPropertiesMapControl() { //Set the properties of AxToolbarControl mapToolbarControl.Orientation = esriToolbarOrientation.esriToolbarOrientationHorizontal; mapToolbarControl.SetBuddyControl(mapControl); mapToolbarControl.AddItem("esriControls.ControlsMapZoomInTool", -1, -1, false, 0, esriCommandStyles.esriCommandStyleIconOnly); mapToolbarControl.AddItem("esriControls.ControlsMapZoomOutTool", -1, -1, false, 0, esriCommandStyles.esriCommandStyleIconOnly); mapToolbarControl.AddItem("esriControls.ControlsMapPanTool", -1, -1, false, 0, esriCommandStyles.esriCommandStyleIconOnly); mapToolbarControl.AddItem("esriControls.ControlsMapFullExtentCommand", -1, -1, false, 0, esriCommandStyles.esriCommandStyleIconOnly); mapToolbarControl.AddItem("esriControls.ControlsMapZoomToLastExtentBackCommand", -1, -1, false, 0, esriCommandStyles.esriCommandStyleIconOnly); mapToolbarControl.AddItem("esriControls.ControlsMapZoomToLastExtentForwardCommand", -1, -1, false, 0, esriCommandStyles.esriCommandStyleIconOnly); mapToolbarControl.AddItem("esriControls.ControlsMapMeasureTool", -1, -1, false, 0, esriCommandStyles.esriCommandStyleIconOnly); }
can any one have an idea about how to do that ? thanks in advanced