ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / DynamicMenu Class / Add Method / Add(String,String,Boolean,Boolean,Boolean) Method
The menu item label.
The path to an image file to use.
Is the menu button checked. Default is false.
Is the menu button enabled. Default is true.
Is the menu button label bold. Default is false.
Version

Add(String,String,Boolean,Boolean,Boolean) Method
Adds a new item to the menu that points to a delegate.
Syntax

Parameters

caption
The menu item label.
imagePath
The path to an image file to use.
isChecked
Is the menu button checked. Default is false.
isEnabled
Is the menu button enabled. Default is true.
isBold
Is the menu button label bold. Default is false.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also