Condividi tramite


TextContentChangingEventArgs Class

Definition

Provides information about an upcoming edit transaction on a ITextBuffer

public ref class TextContentChangingEventArgs : EventArgs
public class TextContentChangingEventArgs : EventArgs
type TextContentChangingEventArgs = class
    inherit EventArgs
Public Class TextContentChangingEventArgs
Inherits EventArgs
Inheritance
TextContentChangingEventArgs

Remarks

This class provides information about events such as Changing.

Constructors

TextContentChangingEventArgs(ITextSnapshot, Object, Action<TextContentChangingEventArgs>)

Initializes a new instance of TextContentChangingEventArgs to be passed during a Changing event.

Properties

Before

The most recent ITextSnapshot before the change.

BeforeVersion

Gets the ITextVersion associated with Before.

Canceled

Determines whether the edit transaction has been canceled.

EditTag

Gets an arbitrary object provided by the initiator of the changes.

Methods

Cancel()

Cancels the edit transaction.

Applies to