Gallery Walkthrough


Purpose
This sample corresponds to the Creating a custom Gallery.
 
Galleries can be used to hold several different custom tasks in an organized fashion. For example, the Basemap gallery lists all of the published basemaps .

How to use

See Using the samples for help on compiling, setting up the debugger, and running the sample. If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders. However, you will need to update the sample to point to the location of the data once you have extracted all the files.

  1. Open and build the solution in Visual Studio.
  2. Open ArcGIS Explorer, and open a map in which you want to use the sample task.
  3. Click the Add-Ins tab and click the arrow to expand your custom Gallery.
  4. Click the desired Gallery button.


Download the files for all languages
Gallery.cs Code to implement a button in a Gallery
Download the C# files
Gallery.vb Code to implement a button in a Gallery
Download the VB.NET files