Partilhar via


IEditor.ReadOnlyChanging Event

Applies to v2.

Occurs when ReadOnly property is changing.

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

Syntax

'Declaration
Event ReadOnlyChanging As EventHandler(Of CancelEventArgs)
'Usage
Dim instance As IEditor 
Dim handler As EventHandler(Of CancelEventArgs)

AddHandler instance.ReadOnlyChanging, handler
event EventHandler<CancelEventArgs> ReadOnlyChanging
event EventHandler<CancelEventArgs^>^ ReadOnlyChanging {
    void add (EventHandler<CancelEventArgs^>^ value);
    void remove (EventHandler<CancelEventArgs^>^ value);
}
abstract ReadOnlyChanging : IEvent<EventHandler<CancelEventArgs>,
    CancelEventArgs>
JScript supports the use of events, but not the declaration of new ones.

See Also

Reference

IEditor Interface

Microsoft.WebMatrix.Extensibility.Editor Namespace