IEditorText.ReadOnly Property
Applies to v2.
Gets a value that indicates whether the current text is read-only.
Namespace: Microsoft.WebMatrix.Extensibility.Editor
Assembly: Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)
Syntax
'Declaration
ReadOnly Property ReadOnly As Boolean
Get
'Usage
Dim instance As IEditorText
Dim value As Boolean
value = instance.ReadOnly
bool ReadOnly { get; }
property bool ReadOnly {
bool get ();
}
abstract ReadOnly : bool
function get ReadOnly () : boolean
Property Value
Type: System.Boolean
true if the current text is read-only; otherwise, false.
Remarks
In some cases we will allow to override the read-only state when you try to update the text. An automatic dialog will pop-up and ask for the read-only state to change.