public void TerrainTabSelected(TabSelectionActionData actionData)
 {
     if (actionData.TabView.Text == "Textures")
     {
         DisableSculptMode();
         DisableFeaturesMode();
         _hexMapEditor.SetTerrainTypeIndex(_terrainTypeIndex);
     }
     else if (actionData.TabView.Text == "Sculpt")
     {
         DisableTexturesMode();
         DisableFeaturesMode();
         _hexMapEditor.SetApplyElevation(ElevationEnabled.Value);
         _hexMapEditor.SetApplyWaterLevel(WaterEnabled.Value);
         UpdateRiverMode();
         UpdateRoadMode();
     }
     else if (actionData.TabView.Text == "Features")
     {
         DisableTexturesMode();
         DisableSculptMode();
         _hexMapEditor.SetApplyUrbanLevel(UrbanEnabled.Value);
         _hexMapEditor.SetApplyFarmLevel(FarmEnabled.Value);
         _hexMapEditor.SetApplyPlantLevel(PlantEnabled.Value);
         _hexMapEditor.SetApplySpecialIndex(SpecialEnabled.Value);
         UpdateWalledMode();
     }
 }
        //public void ShowHideLeftSidebarToggleClicked()
        //{
        //    if (ShowHideLeftSidebarToggleButton.Text == "Hide")
        //    {
        //        SlideLeftMenuInAnimation.StartAnimation();
        //        ShowHideLeftSidebarToggleButton.Text.Value = "Show";
        //    }
        //    {
        //        SlideLeftMenuInAnimation.ReverseAnimation();
        //        ShowHideLeftSidebarToggleButton.Text.Value = "Hide";
        //    }

        //}

        public void ModeTabSelected(TabSelectionActionData actionData)
        {
            if (actionData.TabView.Text == "Terrain")
            {
                _hexMapEditor.SetEditMode(true);
                _prefabManager.SetEditMode(false);
            }
            else if (actionData.TabView.Text == "Objects")
            {
                _hexMapEditor.SetEditMode(false);
                _prefabManager.SetEditMode(true);
            }
        }