ArcGIS Pro 2.8 API Reference Guide
CanRename Property

ArcGIS.Desktop.Core Namespace > CustomItemBase Class : CanRename Property
Gets whether the item can be renamed. The default is true
Syntax
protected virtual bool CanRename {get;}
Protected Overridable ReadOnly Property CanRename As Boolean
Remarks
Override to return false to prevent renaming
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

CustomItemBase Class
CustomItemBase Members