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.
- Open a map containing various MapItems - Folders, Views, Links, FeatureLayers and so on.
- Select the Add-Ins tab in the Ribbon.
- Select different items in the Contents window or by clicking in the map view. Watch how the different Buttons are enabled or disabled depending on what type of item is selected. Try selecting multiple items.
Download the files for all languages
Buttons.cs | Provides a series of Buttons which are enabled dependent upon different conditions. |
Addins.xml | Defines the conditions for each of the Button classes. |
Buttons.vb | Provides a series of Buttons which are enabled dependent upon different conditions. |
Addins.xml | Defines the conditions for each of the Button classes. |