ArcGIS Pro 2.4 API Reference Guide
SetCustomProperty Method

ArcGIS.Desktop.Layouts Namespace > Element Class : SetCustomProperty Method
Overload List
OverloadDescription
Sets a CustomProperty value for the element. This method must be called on the MCT. Use QueuedTask.Run.  
Sets multiple CustomProperty values for the element. This method must be called on the MCT. Use QueuedTask.Run.  
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

Element Class
Element Members