Skip to content

Latest commit

 

History

History

GalleryDemo

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.

View it live

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

Resources

Community Sample Resources

Samples Data

  • Sample data for ArcGIS Pro SDK Community Samples can be downloaded from the Releases page.

How to use the sample

  1. In Visual Studio click the Build menu. Then select Build Solution.
  2. Click Start button to open ArcGIS Pro.
  3. ArcGIS Pro will open.
  4. Open a blank project.
  5. Within the "Gallery Demo" tab you will notice an in-line gallery control with a collection of 10 web maps from ArcGIS Online.
  6. Click any one of the web map items to select it.
  7. The map will be downloaded from ArcGIS Online and opened in a map pane in the application.

UI

      ArcGIS Pro SDK for Microsoft .NET Framework              Home | API Reference | Requirements | Download | Samples