ArcGIS Pro 2.9 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 11, Windows 10, Windows 8.1

See Also

Reference

Element Class
Element Members