This sample shows how to author a gallery on the ArcGIS Pro Ribbon.
In this example we will be creating an inline gallery control that will host a collection of web maps downloaded from ArcGIS Online.
When you click on a web map item in the gallery, it will open in a map pane in ArcGIS Pro.
Language: C#
Subject: Framework
Contributor: ArcGIS Pro SDK Team <arcgisprosdk@esri.com>
Organization: Esri, https://www.esri.com
Date: 04/04/2024
ArcGIS Pro: 3.3
Visual Studio: 2022
.NET Target Framework: net8.0-windows
- Sample data for ArcGIS Pro SDK Community Samples can be downloaded from the Releases page.
- In Visual Studio click the Build menu. Then select Build Solution.
- Click Start button to open ArcGIS Pro.
- ArcGIS Pro will open.
- Open a blank project.
- Within the "Gallery Demo" tab you will notice an in-line gallery control with a collection of 10 web maps from ArcGIS Online.
- Click any one of the web map items to select it.
- The map will be downloaded from ArcGIS Online and opened in a map pane in the application.
Home | API Reference | Requirements | Download | Samples