diff --git a/Framework/CustomStyling/CustomStyling (C# 6.0).md b/Framework/CustomStyling/CustomStyling (C# 6.0).md index d670f86e..b344167b 100644 --- a/Framework/CustomStyling/CustomStyling (C# 6.0).md +++ b/Framework/CustomStyling/CustomStyling (C# 6.0).md @@ -50,7 +50,7 @@ Visual Studio: 2015, 2017 1. The style applied to the Dockpane custom UserControl should match the Light or Dark mode of Pro. ![UI](Screenshots/Screen1.png) - 1. Toggle the Pro theme (via backstage->Options->Application->General settings). Restart Pro. + 1. Toggle the Pro theme (via backstage->Options->Application->General settings). Restart Pro. 1. Re-start the Debugger and Re-open the Dockpane in ArcGIS Pro. 1. The custom style should have changed (Light to Dark or vice versa) to match the corresponding change made to Pro. ![UI](Screenshots/Screen2.png) diff --git a/Framework/CustomStyling/ReadMe.md b/Framework/CustomStyling/ReadMe.md index d670f86e..b344167b 100644 --- a/Framework/CustomStyling/ReadMe.md +++ b/Framework/CustomStyling/ReadMe.md @@ -50,7 +50,7 @@ Visual Studio: 2015, 2017 1. The style applied to the Dockpane custom UserControl should match the Light or Dark mode of Pro. ![UI](Screenshots/Screen1.png) - 1. Toggle the Pro theme (via backstage->Options->Application->General settings). Restart Pro. + 1. Toggle the Pro theme (via backstage->Options->Application->General settings). Restart Pro. 1. Re-start the Debugger and Re-open the Dockpane in ArcGIS Pro. 1. The custom style should have changed (Light to Dark or vice versa) to match the corresponding change made to Pro. ![UI](Screenshots/Screen2.png) diff --git a/Map-Authoring/DictionarySymbolPreview/DictionarySymbolPreview (C# 6.0).md b/Map-Authoring/DictionarySymbolPreview/DictionarySymbolPreview (C# 6.0).md index dc0cd26a..13513776 100644 --- a/Map-Authoring/DictionarySymbolPreview/DictionarySymbolPreview (C# 6.0).md +++ b/Map-Authoring/DictionarySymbolPreview/DictionarySymbolPreview (C# 6.0).md @@ -49,7 +49,7 @@ Visual Studio: 2015, 2017 1. Click the Start button to open ArCGIS Pro. ArcGIS Pro will open. 1. Open the project "MilitaryOverlay.aprx" in the "C:\Data\MilitaryOverlay" folder since this project some military symbolgy sample data. 1. You can also add layers using the feature classes in the MilitaryOverlay.gdb that is distributed with the SDK sample data. -1. Change the 'Appearance'->'Symbology' to "Dictionary" if it is not automatically set. +1. Change the 'Appearance'->'Symbology' to "Dictionary" if it is not automatically set. 1. Click on the ADD-IN tab 1. Click on the "Show Mil2525d Symbol Preview" button. 1. The Mil2525d Symbol Preview dockpane opens. diff --git a/Map-Authoring/DictionarySymbolPreview/ReadMe.md b/Map-Authoring/DictionarySymbolPreview/ReadMe.md index dc0cd26a..13513776 100644 --- a/Map-Authoring/DictionarySymbolPreview/ReadMe.md +++ b/Map-Authoring/DictionarySymbolPreview/ReadMe.md @@ -49,7 +49,7 @@ Visual Studio: 2015, 2017 1. Click the Start button to open ArCGIS Pro. ArcGIS Pro will open. 1. Open the project "MilitaryOverlay.aprx" in the "C:\Data\MilitaryOverlay" folder since this project some military symbolgy sample data. 1. You can also add layers using the feature classes in the MilitaryOverlay.gdb that is distributed with the SDK sample data. -1. Change the 'Appearance'->'Symbology' to "Dictionary" if it is not automatically set. +1. Change the 'Appearance'->'Symbology' to "Dictionary" if it is not automatically set. 1. Click on the ADD-IN tab 1. Click on the "Show Mil2525d Symbol Preview" button. 1. The Mil2525d Symbol Preview dockpane opens. diff --git a/Map-Authoring/LayersPane/LayersPane (C#).md b/Map-Authoring/LayersPane/LayersPane (C#).md index b3bd2403..7382ac68 100644 --- a/Map-Authoring/LayersPane/LayersPane (C#).md +++ b/Map-Authoring/LayersPane/LayersPane (C#).md @@ -48,7 +48,7 @@ Visual Studio: 2015, 2017 1. Open the "C:\Data\Interacting with Maps\Interacting with Maps.aprx" project which contains the required data needed for this sample. 1. Click on the Add-in tab on the ribbon and then on the "Open LayersPane" button. 1. On the "layer pane" click the 'Search button' and the pane's grid will display the selected feature layer's columns and data. -1. Select "Crimes" on the layer dropdown and enter a valid SQL where clause like 'objectid < 100' in the text box next to the search button and click Search again. +1. Select "Crimes" on the layer dropdown and enter a valid SQL where clause like 'objectid < 100' in the text box next to the search button and click Search again. ![UI](Screenshots/Screen1.png) 1. The data displayed is now restricted to records that match the given where clause. diff --git a/Map-Authoring/LayersPane/ReadMe.md b/Map-Authoring/LayersPane/ReadMe.md index b3bd2403..7382ac68 100644 --- a/Map-Authoring/LayersPane/ReadMe.md +++ b/Map-Authoring/LayersPane/ReadMe.md @@ -48,7 +48,7 @@ Visual Studio: 2015, 2017 1. Open the "C:\Data\Interacting with Maps\Interacting with Maps.aprx" project which contains the required data needed for this sample. 1. Click on the Add-in tab on the ribbon and then on the "Open LayersPane" button. 1. On the "layer pane" click the 'Search button' and the pane's grid will display the selected feature layer's columns and data. -1. Select "Crimes" on the layer dropdown and enter a valid SQL where clause like 'objectid < 100' in the text box next to the search button and click Search again. +1. Select "Crimes" on the layer dropdown and enter a valid SQL where clause like 'objectid < 100' in the text box next to the search button and click Search again. ![UI](Screenshots/Screen1.png) 1. The data displayed is now restricted to records that match the given where clause. diff --git a/Map-Authoring/Renderer/ReadMe.md b/Map-Authoring/Renderer/ReadMe.md index 25a8c730..299323b5 100644 --- a/Map-Authoring/Renderer/ReadMe.md +++ b/Map-Authoring/Renderer/ReadMe.md @@ -61,17 +61,16 @@ To experiment with the various renderers available with this sample, follow the 1. In Visual Studio's solution explorer, open the ApplyRenderer.cs file. This is the class file for the Apply Renderer button. 1. The OnClick method in the ApplyRenderer.cs file gets the first point feature layer in your project and then applies the Unique Value Renderer to it.
**You can modify the code in the OnClick method in this file to use one of the various renderers available in this sample and/or select any feature layer in your project.** - ```c# - protected async override void OnClick() - { - //TODO: This line below gets the first point layer in the project to apply a renderer. - //You can modify it to use other layers with polygon or line geometry if needed. - var lyr = MapView.Active.Map.GetLayersAsFlattenedList().OfType().FirstOrDefault(s => s.ShapeType == esriGeometryType.esriGeometryPoint); - //TODO: Modify this line below to experiment with the different renderers - await UniqueValueRenderers.UniqueValueRenderer(lyr); - } - ``` - + ```c# + protected async override void OnClick() + { + //TODO: This line below gets the first point layer in the project to apply a renderer. + //You can modify it to use other layers with polygon or line geometry if needed. + var lyr = MapView.Active.Map.GetLayersAsFlattenedList().OfType().FirstOrDefault(s => s.ShapeType == esriGeometryType.esriGeometryPoint); + //TODO: Modify this line below to experiment with the different renderers + await UniqueValueRenderers.UniqueValueRenderer(lyr); + } + ``` 1. After modifying the OnClickMethod build the solution and click the start button to open Pro. 1. Open any project and test the Apply Renderer button again. ![UI](screenshots/Renderers.png) diff --git a/Map-Authoring/Renderer/Renderer (C# 7.0).md b/Map-Authoring/Renderer/Renderer (C# 7.0).md index f862ba84..299323b5 100644 --- a/Map-Authoring/Renderer/Renderer (C# 7.0).md +++ b/Map-Authoring/Renderer/Renderer (C# 7.0).md @@ -61,14 +61,16 @@ To experiment with the various renderers available with this sample, follow the 1. In Visual Studio's solution explorer, open the ApplyRenderer.cs file. This is the class file for the Apply Renderer button. 1. The OnClick method in the ApplyRenderer.cs file gets the first point feature layer in your project and then applies the Unique Value Renderer to it.
**You can modify the code in the OnClick method in this file to use one of the various renderers available in this sample and/or select any feature layer in your project.** - ```c# protected async override void OnClick() - { - //TODO: This line below gets the first point layer in the project to apply a renderer. - //You can modify it to use other layers with polygon or line geometry if needed. var lyr = MapView.Active.Map.GetLayersAsFlattenedList().OfType<FeatureLayer>().FirstOrDefault(s => s.ShapeType == esriGeometryType.esriGeometryPoint); - //TODO: Modify this line below to experiment with the different renderers await UniqueValueRenderers.UniqueValueRenderer(lyr); - } - ``` - + ```c# + protected async override void OnClick() + { + //TODO: This line below gets the first point layer in the project to apply a renderer. + //You can modify it to use other layers with polygon or line geometry if needed. + var lyr = MapView.Active.Map.GetLayersAsFlattenedList().OfType().FirstOrDefault(s => s.ShapeType == esriGeometryType.esriGeometryPoint); + //TODO: Modify this line below to experiment with the different renderers + await UniqueValueRenderers.UniqueValueRenderer(lyr); + } + ``` 1. After modifying the OnClickMethod build the solution and click the start button to open Pro. 1. Open any project and test the Apply Renderer button again. ![UI](screenshots/Renderers.png) diff --git a/Sharing/UploadVtpkToAgol/ReadMe.md b/Sharing/UploadVtpkToAgol/ReadMe.md index a9a90d7b..174bac1f 100644 --- a/Sharing/UploadVtpkToAgol/ReadMe.md +++ b/Sharing/UploadVtpkToAgol/ReadMe.md @@ -49,8 +49,8 @@ Visual Studio: 2015, 2017 1. ArcGIS Pro will open. 1. Open a new map project. 1. Click on the *Upload to ArcGIS Online* tab on the ribbon. -1. Within this tab there is a *Show & Upload Vector Tile* button. Click the button to display the *Show & Upload Vector Tile* dockpane. -1. On the *Show & Upload Vector Tile* dockpane click the open file button and open *C:\Data\VectorTileDemos\AlaskaGeology.vtpk*. +1. Within this tab there is a *Show & Upload Vector Tile* button. Click the button to display the *Show & Upload Vector Tile* dockpane. +1. On the *Show & Upload Vector Tile* dockpane click the open file button and open *C:\Data\VectorTileDemos\AlaskaGeology.vtpk*. 1. Click the *Add To Map* button to add the vector tile package to the current map. ![UI](Screenshots/Screenshot1.png) diff --git a/Sharing/UploadVtpkToAgol/UploadVtpkToAgol (C#).md b/Sharing/UploadVtpkToAgol/UploadVtpkToAgol (C#).md index a9a90d7b..174bac1f 100644 --- a/Sharing/UploadVtpkToAgol/UploadVtpkToAgol (C#).md +++ b/Sharing/UploadVtpkToAgol/UploadVtpkToAgol (C#).md @@ -49,8 +49,8 @@ Visual Studio: 2015, 2017 1. ArcGIS Pro will open. 1. Open a new map project. 1. Click on the *Upload to ArcGIS Online* tab on the ribbon. -1. Within this tab there is a *Show & Upload Vector Tile* button. Click the button to display the *Show & Upload Vector Tile* dockpane. -1. On the *Show & Upload Vector Tile* dockpane click the open file button and open *C:\Data\VectorTileDemos\AlaskaGeology.vtpk*. +1. Within this tab there is a *Show & Upload Vector Tile* button. Click the button to display the *Show & Upload Vector Tile* dockpane. +1. On the *Show & Upload Vector Tile* dockpane click the open file button and open *C:\Data\VectorTileDemos\AlaskaGeology.vtpk*. 1. Click the *Add To Map* button to add the vector tile package to the current map. ![UI](Screenshots/Screenshot1.png)