TextPatternIdentifiers.IsReadOnlyAttribute Field

Identifies the IsReadOnly attribute of a text range.

Namespace:  System.Windows.Automation
Assembly:  System.Windows (in System.Windows.dll)


Public Shared ReadOnly IsReadOnlyAttribute As AutomationTextAttribute
public static readonly AutomationTextAttribute IsReadOnlyAttribute


The read-only state of the document is associated with the calling text range.


If a document or file is read-only, but you can still edit and save it as another file, this attribute does not consider that document or file read-only.

The values for this attribute are of type Boolean.

Version Information


Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1


For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.