ArcGIS Pro 2.7 API Reference Guide
IsReadOnly Property (StyleProjectItem)

ArcGIS.Desktop.Mapping Namespace > StyleProjectItem Class : IsReadOnly Property
Gets the value which indicates if the StyleProjectItem is read-only.
Syntax
public bool IsReadOnly {get;}
Public ReadOnly Property IsReadOnly As Boolean
Remarks
Note that the style file cannot be modified if it is not current, even if it is not read-only.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

StyleProjectItem Class
StyleProjectItem Members