TextPatternIdentifiers.IsReadOnlyAttribute Field


Identifies the IsReadOnly attribute of a text range.

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

public static readonly AutomationTextAttribute IsReadOnlyAttribute

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


If a document or file is read-only, but you can still edit it and save it as another file, the text is not considered read-only.

This identifier is used by UI Automation providers. UI Automation client applications should use the equivalent field in TextPattern.

Values for this attribute are of type Boolean.

The default value is false.

.NET Framework
Available since 3.0
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Return to top