In This Article

TextViewTextAreaLayoutEventArgs Class

Provides arguments for a ITextView.TextAreaLayout event.

public class TextViewTextAreaLayoutEventArgs : TextViewEventArgs
Inheritance:
System.Object System.EventArgs System.Windows.RoutedEventArgs TextViewEventArgs Object

Constructors

TextViewTextAreaLayoutEventArgs(ITextView)

Initializes a new instance of the TextViewTextAreaLayoutEventArgs class.

public TextViewTextAreaLayoutEventArgs(ITextView view)
Parameter Type Description
view ITextView

The ITextView that is affected by this event.

Properties

AddedOrUpdatedViewLines

Gets the collection of view lines that were added or updated by this layout cycle.

public IEnumerable<ITextViewLine> AddedOrUpdatedViewLines { get; }

Property Value

System.Collections.Generic.IEnumerable<ITextViewLine>:

The collection of view lines that were added or updated by this layout cycle.

HadSnapshotChange

Gets whether the layout occurred after the view's CurrentSnapshot changed.

public bool HadSnapshotChange { get; }

Property Value

System.Boolean:

true if the layout occurred after the view's CurrentSnapshot changed; otherwise, false.

RemovedViewLines

Gets the collection of view lines that were removed by this layout cycle.

public IEnumerable<ITextViewLine> RemovedViewLines { get; }

Property Value

System.Collections.Generic.IEnumerable<ITextViewLine>:

The collection of view lines that were removed by this layout cycle.

TranslatedViewLines

Gets the collection of view lines that were translated by this layout cycle.

public IEnumerable<ITextViewLine> TranslatedViewLines { get; }

Property Value

System.Collections.Generic.IEnumerable<ITextViewLine>:

The collection of view lines that were translated by this layout cycle.

Inherited Members

  • TextViewEventArgs.View
  • System.EventArgs.Empty
  • System.Object.ToString()
  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object, System.Object)
  • System.Object.ReferenceEquals(System.Object, System.Object)
  • System.Object.GetHashCode()
  • System.Object.GetType()
  • System.Object.MemberwiseClone()