Partilhar via


IEditor.ReadOnly Property

Applies to v2.

Gets or sets a value that indicates whether user cannot edit text.

Namespace:  Microsoft.WebMatrix.Extensibility.Editor
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
Property ReadOnly As Boolean 
    Get 
    Set
'Usage
Dim instance As IEditor 
Dim value As Boolean 

value = instance.ReadOnly

instance.ReadOnly = value
bool ReadOnly { get; set; }
property bool ReadOnly {
    bool get ();
    void set (bool value);
}
abstract ReadOnly : bool with get, set
function get ReadOnly () : boolean 
function set ReadOnly (value : boolean)

Property Value

Type: System.Boolean
true if user cannot edit text; false if user can edit text.

See Also

Reference

IEditor Interface

Microsoft.WebMatrix.Extensibility.Editor Namespace